How could I open the drawer using swipe upon a touchable view?
See original GitHub issueThis is my code, alistView is a touchable listview,
<View style={styles.container}>
<Drawer ref={(ref) => this._drawer = ref} type="overlay"
content={exhibitor_filter}
tapToClose={true}
side="right"
panOpenMask={0.2}
openDrawerOffset={0.3}
panCloseMask={0.3}
closedDrawerOffset={-3}
// styles={drawerStyles}
tweenHandler={(ratio) => ({
main: { opacity: (2 - ratio) / 2 }
}) } >
<SearchBar onSearch={(txt) => this.doTextSearch(txt) }></SearchBar>
{alistView}
</Drawer>
</View>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:20
Top Results From Across the Web
Touch anywhere to slide open menu for navigation drawer
The user can bring the navigation drawer onto the screen by swiping from the left edge of the screen or by touching the...
Read more >Tip: how to swipe to open navigation drawer : r/android_beta
Easier is to use 2 fingers, open the navigation drawer with one finger while keeping another finger on the screen.
Read more >Enable/disable drawer gesture for a screen #390 - GitHub
I am trying to figure out how to only enable drawer open gestures on root views of a StackNavigator.
Read more >Navigation Drawer - Android Developers
The user can bring the navigation drawer onto the screen by swiping from the left edge of the screen or by touching the...
Read more >Gesture swipe up change action - OnePlus Community
Doing the swipe up gesture will open the drawer, but if you stop the gesture by touching the screen instead of the drawer,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
try this:
@jpsantos7 set
captureGestures
totrue
andpanOpenMask
to0.01
or0.02
it’s works for me, but need to swipe from start of screen