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

closeOnOutSideClick triggered condition #226

Open
olabala opened this issue Dec 4, 2019 · 0 comments
Open

closeOnOutSideClick triggered condition #226

olabala opened this issue Dec 4, 2019 · 0 comments

Comments

@olabala
Copy link

olabala commented Dec 4, 2019

closeOnOutSideClick will be triggered when I click the child node which will be remove after click

I have to wrap my click event with setTimeout because the source code uses root.contain(x) to determine whether the node is outside

Is there any other way to do this outside judgment?

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

No branches or pull requests

1 participant