Skip to content

Conversation

soldag
Copy link

@soldag soldag commented May 28, 2024

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:

  • Documentation
  • Tests
  • Ready to be merged

Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-semantic-ui-datepickers ❌ Failed (Inspect) May 28, 2024 11:37am

@soldag
Copy link
Author

soldag commented May 28, 2024

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.

@arthurdenner
Copy link
Owner

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.

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.

2 participants