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(dialog): escape closing when not closable via button #7094

Merged

Conversation

J-Michalek
Copy link
Contributor

Fix #6922

The closable prop is a little confusing as it's main purpose seems to be hiding of the button, but to me it sounds like it should prevent all closing. Ideally we would rename the prop and perhaps introduce a new one with more specific name, but that would be a breaking change.

Nevertheless this simple change should be enough to resolve the issue.

Copy link

vercel bot commented Jan 14, 2025

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

2 Skipped Deployments
Name Status Preview Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 3:32pm
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 3:32pm

@tugcekucukoglu tugcekucukoglu merged commit b9a8efc into primefaces:master Jan 15, 2025
2 of 3 checks passed
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: closeOnEscape is not working when closable is false
2 participants