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
I am able to close the drawer with back button press, tapping on the non-drawer area. I am looking for a way to drag the open area of drawer horizontally leftwards and close it. Is there any prop I need to set?
Increasing the panCloseMask gives you more space in which you can pan the drawer closed. Setting captureGestures to closed means that you can still interact with things inside of the drawer.
The only problem I've run into with that is if I also have a view behind the drawer that responds to horizontal pans when captureGestures is set to closed. Since the drawer is no longer capturing those gestures, if I start the pan from outside of the drawer it will pan the backing view...
My compromise was setting panCloseMask to something like 0.4.
I am able to close the drawer with back button press, tapping on the non-drawer area. I am looking for a way to drag the open area of drawer horizontally leftwards and close it. Is there any prop I need to set?
My Drawer definition looks like:
The text was updated successfully, but these errors were encountered: