You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, the ReanimatedDrawerLayout has been rewritten as a functional component, and functional components don't expose their inner state. You should be able to use either onDrawerOpen or onDrawerWillOpen as a replacement for state.drawerOpened. Let me know if that works for you, or if there are any issues with that approach.
Description
When migrating from the
DrawerLayout
toReanimatedDrawerLayout
and using its ref, I'm missing thestate.drawerOpened
property.Steps to reproduce
ReanimatedDrawerLayout
and itsref
propertySnack or a link to a repository
No bug to reproduce
Gesture Handler version
2.23.1
React Native version
0.76.0
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: