dynim-react 1.0.13 → 1.0.14

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.
@@ -120,8 +120,8 @@ export function BuilderProvider({ children, config = {}, onBuilderReady, }) {
120
120
  onExit: () => {
121
121
  console.log('[BuilderProvider] Visual builder exited');
122
122
  setIsBuilderActive(false);
123
- // Reset exiting flag after exit completes
124
- isExitingRef.current = false;
123
+ // NOTE: Do NOT reset isExitingRef here - it must stay true until
124
+ // React finishes processing state updates. It gets reset in onEnter.
125
125
  },
126
126
  });
127
127
  return () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynim-react",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",