1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

PrimeNg Tooltip disappearing on mobile and tablet when touch released even with life set or...

Discussão em 'Angular' iniciado por Albert Buigues, Novembro 8, 2024 às 05:42.

  1. I'm configuring a tooltip for a custom button and assigning a method to a (touchstart) event, because hover event for primeng tooltip is not working in tablet or mobiles.

    This is the code for the method:

    onTouch() {
    this.tooltip.hideDelay = 5000;
    this.tooltip.show();
    }


    The problem is that the delay is not working, when I release the touch the tooltip disappear. I need the tooltip to remain after touch is released for 5 seconds.

    How should I do it? Tried timeout and left properties but not working.

    Continue reading...

Compartilhe esta Página