Skip to content
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

Fix Auto Close - Check element contains before the delay #193

Closed
wants to merge 1 commit into from

Conversation

bentleyo
Copy link

This is another version of pull request #181.
It fixes an issue when clicking an element in a popover that gets removed from the DOM.

It works by checking contains before requestAnimationFrame at which point the element has been removed from the DOM and contains returns false.

Prevents issue with click events that remove elements from the DOM
@bentleyo bentleyo changed the title Check element contains before the delay Fix Auto Close - Check element contains before the delay Feb 26, 2019
@bentleyo
Copy link
Author

Hi @Akryum is there anything you need in order for this to be merged?

@bondarev
Copy link

Hi, @Akryum when it will be merged or fixed?

@Akryum
Copy link
Owner

Akryum commented May 6, 2019

A fix was released in v2.0.2

@Akryum Akryum closed this May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants