We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae7201 commit 5cbba4dCopy full SHA for 5cbba4d
package.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "2.4.1",
+ "version": "2.4.2",
3
"license": "MIT",
4
"name": "mui-modal-provider",
5
"author": "Quernest",
src/modal-provider.tsx
@@ -146,7 +146,7 @@ export default function ModalProvider({
146
hide(id);
147
}
148
149
- if (options && options.destroyOnClose) {
+ if (options && options.destroyOnClose && options.hideOnClose) {
150
destroy(id);
151
152
0 commit comments