kazzkiq / balloon.css

Simple tooltips made of pure CSS
https://kazzkiq.github.io/balloon.css/
MIT License
5.03k stars 448 forks source link

Not disappearing after click ( Angular Material 15.1.0) #178

Closed jusfeel closed 1 year ago

jusfeel commented 1 year ago

I think this is because the focus on the item is not being off-focus for some reason.

This is happening on the latest update on the latest Material Angular v15.1.0.

When I click the link which is routing the app to a new route, the route changes yet the balloon keeps showing until I click some where on the page , then it goes away ( I think because the focus on the button is changed).

Not sure what exactly happening, I think it's related to how angular deal with the focus when route changes.

image

SanjeevSingh08 commented 1 year ago

I think this is because the focus on the item is not being off-focus for some reason.

This is happening on the latest update on the latest Material Angular v15.1.0.

When I click the link which is routing the app to a new route, the route changes yet the balloon keeps showing until I click some where on the page , then it goes away ( I think because the focus on the button is changed).

Not sure what exactly happening, I think it's related to how angular deal with the focus when route changes.

image

I think we should make a function - Whenever we click on the button the hover effect should be removed after a time-span say-2seconds