react-native-gesture-handler
react-native-gesture-handler copied to clipboard
zIndex choices with drawerType="slide"
Hello, I'm using react-navigation and tried to make editable drawer with animations like Slack App.

This is implemented by drawerType="slide", position: 'absolute' in drawer content style and animating width.
Actually I found drawer comes backward and patched DrawerLayout.js as below.
// drawerType === 'front'
(drawerType === 'front' || drawerType === 'slide')
? styles.containerOnBack
: styles.containerInFront,
I understand this patch happened to match my use case but not to others, so my proposal is adding either new prop like drawerOverlap or drawerType="slide-front".