Skip to content

fix: upgrade @zag-js/floating-panel to 1.37.0 to fix flushSync cascade#1

Merged
cminn10 merged 1 commit intomainfrom
patch/upgrade-zag-js-flushsync-fix
Mar 19, 2026
Merged

fix: upgrade @zag-js/floating-panel to 1.37.0 to fix flushSync cascade#1
cminn10 merged 1 commit intomainfrom
patch/upgrade-zag-js-flushsync-fix

Conversation

@cminn10
Copy link
Copy Markdown
Owner

@cminn10 cminn10 commented Mar 19, 2026

Upgrades @zag-js/floating-panel and @zag-js/react from 1.35.3 to 1.37.0.

v1.37.0 removes sync: true from the size/position bindables in the floating-panel machine, which eliminates the flushSync cascade that caused intermittent "Maximum update depth exceeded" errors when panel content contains ResizeObserver callbacks.

See: chakra-ui/zag#3005

Upgrades @zag-js/floating-panel and @zag-js/react from 1.35.3 to 1.37.0.

v1.37.0 removes `sync: true` from the size/position bindables in the
floating-panel machine, which eliminates the `flushSync` cascade that
caused intermittent "Maximum update depth exceeded" errors when panel
content contains ResizeObserver callbacks.

See: chakra-ui/zag#3005
Made-with: Cursor
@cminn10 cminn10 merged commit 27e5c0b into main Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant