Popper-core: Tooltip still works even after calling dispose method.

Created on 8 Feb 2017  路  8Comments  路  Source: popperjs/popper-core

CodePen demo

http://codepen.io/anon/pen/egLXaQ

Steps to reproduce the problem

  1. Open the site code pen example
  2. Hover the mouse on the ref element sometimes.

What is the expected behavior?

The tooltip should be disabled after calling the "dispose" method.

What went wrong?

The tooltip still works, even after calling the dispose method.

# BUG 馃悶 medium CI test low

All 8 comments

Oh well.. at least it's the first time someone complains that something actually works 馃槀

I will look into it as soon I have a minute.

So, looks like dispose can work only if the tooltip has been shown at least once... Because dispose looks for this.tooltipNode, which is available only after the tooltip has been shown once.

I haven't time to fix it at the moment because I focus my spare time on the core, any contributions are more than welcome.

I'm having problems related to this. Has it been fixed or just closed?

Actually I thought it had been fixed.

Would bump priority of this since it sounds like basic functionality.

Sorry I give low priority to Tooltip.js because it's just a side-project to showcase Popper.js.

Feel free to adopt the issue and send a PR if you need this fixed asap.

This has been fixed

Could you please take a look in it again? I am having the exact same issue with Tooltip.js 1.3.1.

Was this page helpful?
0 / 5 - 0 ratings