react-motion-modal 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5717,7 +5717,7 @@ const as = (t) => {
5717
5717
  })), eh = ({ modals: t, initialParams: e }) => {
5718
5718
  const n = us((o) => o.activeModals), i = us((o) => o.closeModal), s = et(null);
5719
5719
  return he(() => {
5720
- if (s.current = document.body, n?.length === 0 || !n[n.length - 1].params?.closeOnPressEsc && e?.closeOnPressEsc)
5720
+ if (s.current = document.body, n?.length === 0 || !n[n.length - 1].params?.closeOnPressEsc && !e?.closeOnPressEsc)
5721
5721
  return;
5722
5722
  const o = () => {
5723
5723
  i();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-motion-modal",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",