Files
paseo/packages
Mohamed Boudra 00a6e636fb Fix mobile sidebars reappearing ghost-open after heavy commits
On Android (Fabric), a large React commit landing after a sidebar
open/close settles — e.g. a long agent thread finishing its first
mount — re-applies React's stale committed props onto the native view,
reverting the UI-thread transform so the sidebar reappears with no
transition while store and worklet state correctly say "closed"
(software-mansion/react-native-reanimated#9635).

Work around it by bumping a settled-generation counter after every
settle so the animated styles refresh React's committed props from the
settled shared values. The backdrop's pointerEvents moves from the
worklet to React state for the same reason: Reanimated's prop
re-application doesn't cover it, and a reverted "auto" wedges an
invisible tap-eating backdrop.

Animations still run entirely on the UI thread; the bump only fires
after settle and writes no shared values.
2026-06-12 16:50:32 +07:00
..
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00
2026-06-12 13:38:52 +07:00