Tooltip problem

UI Components for Angular
Post Reply
mmikeyy
Posts: 127
Joined: 11 May 2016, 17:39

20 Feb 2018, 21:41

Display an option on the screen, that is removed once clicked. Attach to that option a tooltip with a showDelay. If the option is clicked before the tooltip is displayed, the showDelay timer will keep going and the tooltip will be displayed when it times out. But the option's gone. So the tooltip is displayed in the top left corner of the screen, and stays there forever.

shannila
Posts: 3
Joined: 22 Jan 2018, 13:08

21 Feb 2018, 03:43

Please give a hideDelay also along with the showdelay, where hideDelay>showDelay and that will be the amount of time the tooltip will be ON.

Also you can use 'life' which is also simpler.

Thanks,
Shannila

mmikeyy
Posts: 127
Joined: 11 May 2016, 17:39

22 Feb 2018, 18:32

I am using the life attribute to make it go away. However, would it not be better to fix the component by checking if the element the tooltip is attached to still exists and is visible just before displaying it?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests