framer-motion 12.23.23 → 12.23.24

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var featureBundle = require('./feature-bundle-DzuUB-G1.js');
5
+ var featureBundle = require('./feature-bundle-v2Gb94eA.js');
6
6
  require('react');
7
7
  require('motion-dom');
8
8
  require('motion-utils');
@@ -4887,7 +4887,12 @@ function createAnimationState(visualElement) {
4887
4887
  getState: () => state,
4888
4888
  reset: () => {
4889
4889
  state = createState();
4890
- isInitialRender = true;
4890
+ /**
4891
+ * Temporarily disabling resetting this flag as it prevents components
4892
+ * with initial={false} from animating after being remounted, for instance
4893
+ * as the child of an Activity component.
4894
+ */
4895
+ // isInitialRender = true
4891
4896
  },
4892
4897
  };
4893
4898
  }
package/dist/cjs/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
6
  var React = require('react');
7
- var featureBundle = require('./feature-bundle-DzuUB-G1.js');
7
+ var featureBundle = require('./feature-bundle-v2Gb94eA.js');
8
8
  var motionDom = require('motion-dom');
9
9
  var motionUtils = require('motion-utils');
10
10
 
@@ -321,7 +321,12 @@ function createAnimationState(visualElement) {
321
321
  getState: () => state,
322
322
  reset: () => {
323
323
  state = createState();
324
- isInitialRender = true;
324
+ /**
325
+ * Temporarily disabling resetting this flag as it prevents components
326
+ * with initial={false} from animating after being remounted, for instance
327
+ * as the child of an Activity component.
328
+ */
329
+ // isInitialRender = true
325
330
  },
326
331
  };
327
332
  }
@@ -10481,7 +10481,12 @@
10481
10481
  getState: () => state,
10482
10482
  reset: () => {
10483
10483
  state = createState();
10484
- isInitialRender = true;
10484
+ /**
10485
+ * Temporarily disabling resetting this flag as it prevents components
10486
+ * with initial={false} from animating after being remounted, for instance
10487
+ * as the child of an Activity component.
10488
+ */
10489
+ // isInitialRender = true
10485
10490
  },
10486
10491
  };
10487
10492
  }