mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
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.