DEV Community

Discussion on: How to limit the vertical space that the user can drag an element in, using react-native-gesture-handler?

Collapse
 
rokkoo profile image
Alfonso

But you want when the user drags down and is lower than the title height, return to your valid previous site? and same to up site?

Collapse
 
reidterror profile image
reidterror • Edited

Yes, i'd like a threshold where the user swipes up or down and the menu either fully expands or collapses. I've looked through the examples once again and I've found this horizontal draggable drawer example which is sort of what I'm looking for but from the bottom.