@dfosco/storyboard-react 4.0.0-beta.30 → 4.0.0-beta.31

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard-react",
3
- "version": "4.0.0-beta.30",
3
+ "version": "4.0.0-beta.31",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@dfosco/storyboard-core": "4.0.0-beta.30",
7
- "@dfosco/tiny-canvas": "4.0.0-beta.30",
6
+ "@dfosco/storyboard-core": "4.0.0-beta.31",
7
+ "@dfosco/tiny-canvas": "4.0.0-beta.31",
8
8
  "@neodrag/react": "^2.3.1",
9
9
  "glob": "^11.0.0",
10
10
  "jsonc-parser": "^3.3.1",
@@ -308,7 +308,7 @@ export default forwardRef(function PrototypeEmbed({ id: widgetId, props, onUpdat
308
308
  const refreshMetaRef = useRef(null)
309
309
  useEffect(() => {
310
310
  if (canvasThemeInitRef.current) { canvasThemeInitRef.current = false; return }
311
- if (isExternal || !onUpdate || interactive) return
311
+ if (isExternal || !onUpdate || interactive || !hasSnap) return
312
312
  const rect = embedRef.current?.getBoundingClientRect()
313
313
  enqueueRefresh(widgetId, ({ revealOrder, batchStart }) => {
314
314
  return new Promise((resolve) => {