Fix ReanimatedDrawerLayout animation speed after rerender (#4470)
## Description Fixes #4469. `ReanimatedDrawerLayout` memoized `animateDrawer` without `animationSpeedProp`, so changing the prop did not affect later programmatic `openDrawer()` or `closeDrawer()` calls. The callback now tracks the prop and the imperative methods receive the latest default spring speed after a rerender. ## Test plan - `yarn workspace react-native-gesture-handler test --runInBand` — 159 tests passed - `yarn workspace react-native-gesture-handler ts-check` - `yarn workspace react-native-gesture-handler lint-js` — no errors (existing warnings remain) - `yarn workspace react-native-gesture-handler build`
N
Ngoc Le committed
ed9410d3f1a1b017aa2f929a1c5b95cfbee4b80a
Parent: 0d25288
Committed by GitHub <noreply@github.com>
on 8/27/2026, 10:26:18 AM