Bootstrap: Tooltip not removed after parent element

Created on 20 Mar 2014  路  11Comments  路  Source: twbs/bootstrap

This is an existing issue that has been fixed, but it has returned in 3.1.1.

A tooltip is not removed after parent element has been removed either in normal or modal window.

I am preparing a demo.

All 11 comments

Duplicate of #3084, which is unrelated to the issue I replied to you on.

Ok. Should I still do the demo?

If it's for this issue, then no; there'd be no point.

There is an issue.

@cvrebert I posted the demo.

As @fat stated when he closed the original bug, you must remove the tooltip yourself in such cases.

@cvrebert the tooltip is not working. I am sorry. The issue is very much open.

I think this is a solution :x
http://jsfiddle.net/PZLCY/

@danilocolasso We are not supposed to be hacking framework in order to make it work. Its pointless that everyone should hack it, its much more easier to fix the problem right at the source, since that is very much a valid possibility.

@danilocolasso Reinitialising with $('[title]').tooltip(); is not required, or even not recommended (initializes too many elements). Just hiding on click seems to do the job.

Yes, i know it's ancient issue, but still not really fixed...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IamManchanda picture IamManchanda  路  3Comments

MrCsabaToth picture MrCsabaToth  路  3Comments

eddywashere picture eddywashere  路  3Comments

tiendq picture tiendq  路  3Comments

ghost picture ghost  路  3Comments