Disbale panGesture partially
See original GitHub issueI have some nested components inside the modalize and panGesture is making problem while working interacting with these components, These components work fine if I disable the gesture with this panGestureEnabled={false}
.
Now my question is, Is there a way for disabling the gesture for some particular area or some specific component? Like in the react-navigation v5
the modal has gesture enabled for some upper portion of the screen.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to disable back swipe gesture in UINavigationController ...
I found out setting the gesture to disabled only doesn't always work. It does work, but for me it only did after I...
Read more >Swipe from left to right, how to disable this gesture
Swipe from left to right, in our implementation, this gesture should be disabled as it sometimes causes the row item to be pushed...
Read more >Disabling the Pull-Down Gesture for a Sheet - Apple Developer
To disable dismissal of a view controller presentation, set isModalInPresentation to true . // If there are unsaved changes, enable the Save button...
Read more >Enable/disable drawer gesture for a screen #390 - GitHub
In my case, I've disabled all gestures( pan gesture and tap gesture--the shadow layer), only reserved the outer button action for DrawerOpen and ......
Read more >Gestures | Framer for Developers
The pan gesture recognises when a pointer presses down on a component and moves further than 3 pixels. The pan gesture is ended...
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 FreeTop 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
Top GitHub Comments
For now, it’s not possible. You are only able to enable/disable all gestures altogether.
Even though, it would be very easy to add a boolean to enable/disable only the header/footer/floating component and not the scollview and vice versa.
Feel free to open a PR if you have a fix for it 😃
@jeremybarbet As you said it’s possible to enable the header/footer/floating components gestures while the scrollview gestures are disabled, Is there any way we can disable the gesture of these components ?