Skip to content

Removing a tooltip element when it is displayed doesn't hide the tooltip #4149

Closed
@darthdeus

Description

@darthdeus

Here's a simple fiddle with the example http://jsfiddle.net/rQPKR/

Basically if I have a tooltip element, that onclick removes itself, the tooltip itself will stay displayed.

I know there is a closed issue #2298, but I think there are scenarios where the suggested solution doesn't apply.

For example when I am handling the click event on higher level of abstraction, where I don't have access to the element itself and I can't do anything like $(this).tooltip('hide'). The only solution to this would be globally hiding all tooltips like $('a').tooltip('hide'), which I'm not sure is a clean solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions