motion-v 1.10.2 → 1.10.3
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.
package/dist/cjs/index.js
CHANGED
|
@@ -9946,6 +9946,9 @@ function usePresenceContainer(props) {
|
|
|
9946
9946
|
function finalizeExit(containerState) {
|
|
9947
9947
|
var _a2, _b, _c, _d, _e;
|
|
9948
9948
|
removePopStyle(containerState.el);
|
|
9949
|
+
containerState.motions.forEach((state) => {
|
|
9950
|
+
state.getSnapshot(state.options, false);
|
|
9951
|
+
});
|
|
9949
9952
|
(_a2 = containerState.done) == null ? void 0 : _a2.call(containerState);
|
|
9950
9953
|
containerState.done = void 0;
|
|
9951
9954
|
if (!((_b = containerState.el) == null ? void 0 : _b.isConnected)) {
|
|
@@ -61,6 +61,9 @@ function usePresenceContainer(props) {
|
|
|
61
61
|
function finalizeExit(containerState) {
|
|
62
62
|
var _a, _b, _c, _d, _e;
|
|
63
63
|
removePopStyle(containerState.el);
|
|
64
|
+
containerState.motions.forEach((state) => {
|
|
65
|
+
state.getSnapshot(state.options, false);
|
|
66
|
+
});
|
|
64
67
|
(_a = containerState.done) == null ? void 0 : _a.call(containerState);
|
|
65
68
|
containerState.done = void 0;
|
|
66
69
|
if (!((_b = containerState.el) == null ? void 0 : _b.isConnected)) {
|