Modal without close and cancel button
See original GitHub issueHi Carbon team,
I need a Modal
without close button and with disabled Cancel button (or without that). I know I can build it from ComposedModal
elements. But I’m wondering, why the Modal
doesn’t have a secondaryButtonDisabled
and a hideCloseButton
property? 🤔
What do you think? I can make a PR for this if you think it’s worth it. 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Cancel vs Close: Design to Distinguish the Difference
When users intend to dismiss a modal or view by clicking the X button, but the system instead completely cancels the process and...
Read more >How to close modal popup only when pressing the cancel ...
I have a simple modal and I was wondering how can I only allow the modal to be closed when clicking the "X"...
Read more >modal windows - Are "close" and "x" on a popup redundant?
No : Place both an OK or Close button plus a X button. There are different types of users with different interaction habits,...
Read more >How to hide OK or Cancel buttons on Modal? #1757 - GitHub
We can hide the buttons by using their properties - cancelButtonProps and okButtonProps . If you do not want to display buttons in...
Read more >Best Practices for Modal Windows - UX Movement
Your modal window will need a 'Cancel' button if the user is doing a task where they're entering information. If there's a form...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you can go ahead and open a PR but I think it would be better to confirm that modal close buttons can be removed first cc @carbon-design-system/design
after confirming with design, modals without close buttons are not supported in Carbon. ideally the user should have some way to dismiss a modal