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
Howdy, we are using react-native-router-flux's component as our sidebar and we have some items in the sidebar that have Redux state. While apparently you can call drawerClose and drawerOpen, there is not an actual event (eg onDrawerClose) which we can hook into in order to reset the sidebar's Redux state. We want it reset so that when they re-open it the user will see a fresh sidebar (ie no persistence)
Actual behaviour
No callback / event to hook into for the closing of the drawer (eg if someone swipes it closed).
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Open sidebar / drawer
Close sidebar / drawer... there is no callback or event into which you can hook and attach on additional function calls
Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
Howdy, we are using react-native-router-flux's component as our sidebar and we have some items in the sidebar that have Redux state. While apparently you can call
drawerClose
anddrawerOpen
, there is not an actual event (egonDrawerClose
) which we can hook into in order to reset the sidebar's Redux state. We want it reset so that when they re-open it the user will see a fresh sidebar (ie no persistence)Actual behaviour
No callback / event to hook into for the closing of the drawer (eg if someone swipes it closed).
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: