-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.3.7: Calling "destroy" twice on a shown tooltip or popover causes "Uncaught TypeError: Cannot read property 'off' of null" #20511
Comments
Here is another failure related to the first one, using the same jsbin but replacing these lines:
with these:
I get the error:
The earlier error was happening in the callback passed to In both cases the issue is that code scheduled to run in the future is operating on a tooltip that has been destroyed. |
In my case when I got this error, I bound an event listener to "mouseout" on my element after manually showing the tooltip that would call |
Bootstrap 3 is no longer being officially developed or supported. All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4! <3, |
So v4 isn't even released as stable yet, and you're closing issues with the latest stable release as wontfix? |
@mdo, unfortunately, In "real" production environments, you cannot always "just upgrade" to v4... It would be nice if you guys could address this issue. Clearly, you guys do not carry out to, nor care about your Enterprise users... |
@stephanepericat I believe this why it's open source and free. If you need something to be fixed, you can create PR and fix it. They don't get paid for things they are doing. If this is critical fix, Enterprise company can contact one of the core developers and pay for those fix. |
@artyomtrityak when you release something open source it is your responsibility to maintain it otherwise it's basically unusable and therefore useless. it's fine; we will consider other options... |
Thank you for that entitled viewpoint @stephanepericat - how silly of us not to consider our enterprise users and our responsibilities, since we do this in our spare time for no payment or recognition... |
Versions
Bootstrap: 3.3.7. It is not reproducible with 3.3.6.
Browser/OS: Chrome 51 on Debian Jessie.
How to reproduce
Run this jsbin: http://output.jsbin.com/jowiha
For the record, the code essential for reproduction is:
Expected behavior
The tooltip should be destroyed. No errors. The 2nd destruction should just be a no-op.
Actual behavior
The console shows:
Comments
Popovers are also affected because they share the same code.
This problem was introduced in 3.3.7 with the nullification of the
$element
property of the tooltip.The text was updated successfully, but these errors were encountered: