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

Add config option to usePopModel or useModalModel to disable close on outside click. #3108

Open
mannycarrera4 opened this issue Jan 24, 2025 · 0 comments

Comments

@mannycarrera4
Copy link
Contributor

🚀 Feature Proposal

There's been instances where there might be a modal that opens from a popup where the modal is not to be dismissed by clicking outside. While it can be done via shouldHide and configuring the attributes on the element, we should allow for a easy config option that disables closing the modal or popup on outside click.

Desired behavior: https://codesandbox.io/p/sandbox/dialogmodaltest-forked-cw69w7

@jaclynjessup jaclynjessup moved this to 🆕 New in Canvas Kit Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant