Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(tooltip): cancel show timeouts when leaving before delay. #8394

Closed

Conversation

devversion
Copy link
Member

  • When a user hovers over a tooltip, which has a delay, and we're leaving the tooltips parent before the delay is finished, then we're detaching all leave handlers, which is not valid.

    We should cancel the show timeout, when the leave occurs before the delay.

Fixes #8363.

@devversion devversion added the needs: review This PR is waiting on review from the team label May 10, 2016
* When a user hovers over a tooltip, which has a delay, and we're leaving the tooltips parent before the delay is finished, then we're detaching all leave handlers, which is not valid.
  We should cancel the show timeout, when the leave occurs before the delay.

Fixes angular#8363.
@devversion devversion force-pushed the fix/tooltip-leave-before-delay branch from 6d53fbc to 7f97422 Compare May 10, 2016 13:55
@BevanR
Copy link
Contributor

BevanR commented May 11, 2016

A codepen would be really useful here.

@devversion
Copy link
Member Author

devversion commented May 11, 2016

@BevanR Why is that? It's not necessary, because this is the actual fix for the issue #8363.

@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels May 11, 2016
@ThomasBurleson ThomasBurleson added this to the 1.1.0 milestone May 11, 2016
@BevanR
Copy link
Contributor

BevanR commented May 11, 2016

@devversion I wanted to review the PR, but I was not sure I would be able to understand the bug correctly from the textual description. A codepen example would have made it clear and unambiguous what the bug was and how to reproduce it. No matter no more...

@devversion devversion deleted the fix/tooltip-leave-before-delay branch May 17, 2016 16:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants