-
Notifications
You must be signed in to change notification settings - Fork 4
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
Modal - Allow styling of Backdrop #229
Comments
overlay classname: 👍 As for locking the dismissible action – won't it work already with the way Modal is set up? Since it's completely controlled – you're passing its onClose handler that controls when it gets closed. Is there something that prevents you from removing that handler by default and only change the modal state once the request was completed? |
Apologies! In my testing of various things I must have forgotten to remove the onClose handler. That works just like I was imagining. A slightly more explicit description of this in the Documentation might be helpful. |
|
Describe the solution you'd like
I would like to lock the modal in place if a request is sent from it (If it is a confirmation for a CRUD API basically) while that request is in flight.I can
disable
the cancel button and turn the confirm button toloading
but the modal stays dismissible via the backdrop.Additionally it would also be great if we could pass attributes (or just the
className
, really) to the backdrop, so we could style it. (I would like to slightly blur it, for example)The text was updated successfully, but these errors were encountered: