nice-modal-react icon indicating copy to clipboard operation
nice-modal-react copied to clipboard

A modal state manager for React.

Results 32 nice-modal-react issues
Sort by recently updated
recently updated
newest added

I have been using this package for a long time in a lot of projects and recently ive noticed a lot of issues regarding modals mounting and un-mounting especially with...

Hi, I have a bunch of mui dialogs and I want to lazy load them only when they get opened. How can I do that in nextjs?

In all my modal components, I either return a response, or if the user closes the modal I do something like this: ``` { modal.resolve(false); modal.remove(); }} > ``` However,...

Hey team, Loving the library and I found that I often would call resolve and hide or reject and hide, and noticed that there was a similar pattern mentioned in...

Add `resolveFalseAndRemove` helper function to modal handler as described here: https://github.com/eBay/nice-modal-react/issues/88

Which property can I use to prevent the modal from hiding when I click outside of it? I don't want it to hide when clicking outside, only through code.

### Business description In my App, there are a lot of modals that need to be displayed, so in some business scenarios, there may be 5 or more modals displayed...

## relate issues - #100 - #141 ## feature 1. optimize parts of the TypeScript implementation. 2. the issue of being unable to close the popup when using nested providers....

I will send props.onOk, maybe async function, it will change loading status from false -> true -> false when user clicks button inside a modal. What I need is binding...

I faced the problem that after call modal.remove(), the modal is still visible even when the visible is false (i log the modal object from useModal). But when I use...