-
-
Notifications
You must be signed in to change notification settings - Fork 56
Fix auto-closing if used in open shadow DOM #899
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I wasn't sure if this project is still maintained, so I didn't want to put too much effort in this. If needed, I can add tests.
I wasn't sure if this project is still maintained, so I didn't want to put too much effort in this. If needed, I can add tests.
I have zero time to maintain this project nor I use it anymore, so my suggestion is to fork it and use your fork instead. The project has a MIT license so you're fine to do it.
What kind of change does this PR introduce?
Fixes auto-closing of the calendar popup when the component is used in an open shadow DOM.
What is the current behavior?
When the component is used in an open shadow DOM, the popup is closed on any click, no matter whether it's in the popup or not.
What is the new behavior?
The popup is closed only if the user has clicked outside of the popup.
Checklist: