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

Improve our Dialog component #1052

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Improve our Dialog component #1052

wants to merge 3 commits into from

Conversation

qgerome
Copy link
Member

@qgerome qgerome commented Jan 28, 2025

I had a problem with the closeOnOutsideClick that was not covering all the case. When the user clicks inside a popup that is mounted inside a sibling of the dialog for example, it was closing the Dialog even though closeOnOutsideClick was true.

Changes

  • Added tests
  • Remove the Transition for the built-in mechanism
  • persistent removes the onClose on the Dialog element -> This prevents the problem we had before

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.

1 participant