Tooltip stays after disabling button

UI Components for Angular
Post Reply
hitech73
Posts: 6
Joined: 19 Feb 2017, 06:47

26 May 2017, 21:18

Hi,

I have a tooltip on a button on hover. The problem I have is when I click the button I want to disable the button in the onClick event. When I do this the button gets disabled but the tooltip stays showing indefinitely. I also tried to set the tooltipDisabled attribute to true at the same time as the button disabled attribute with no luck.

Thanks for any help

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

27 May 2017, 11:51

Are you disabling the tooltip before button disable. The plunker example would be helpful.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

hitech73
Posts: 6
Joined: 19 Feb 2017, 06:47

29 May 2017, 21:12

Hi, thanks for the response.

Here is a plunker showing the problem

https://plnkr.co/p7FM5g

Clicking on a button that gets disabled does not hide the tooltip.

Thanks

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests