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: #6116 prevent dialog from closing when releasing mouse outside… #6149

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

avramz
Copy link
Contributor

@avramz avramz commented Jul 30, 2024

… the dialog and dismissableMask is set to true

###Defect Fixes
Fixes #6116. When dismissableMask=true and the user releases the mouse on the mask container, do not close the dialog if the mousedown originated inside the dialog itself.

Note: I'd like to add unit tests for this, but it seems they are not setup at the moment. Any pointers on this?

…se outside the dialog and dismissableMask is set to true
Copy link

vercel bot commented Jul 30, 2024

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Jul 30, 2024 9:36am
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Jul 30, 2024 9:36am

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.

Dialog: Release mouse outside the dialog would close the dialog when dismissableMask is true.
2 participants