-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with dragging when <Draggable> in <ScrollView> #117
Comments
same here: |
any fix yet? |
same here |
1 similar comment
same here |
@MohsinaliEMed @allysonfield @muammadibal @Nuss93 @rameshparajuli I have fixed it This is because of gesture conflict of ScrollView and Draggable. And due to that conflict, ScrollView is responding to your clicks and gestures because ScrollView is parent and its gesture is dominant on gesture of Draggable. To make Draggable dominant You have to disable ScrollView when you attract with Draggable If u want to fix it please follow the steps below first of all I have created a state named as scroll and initially it is true
use this state to enable and disable scroll view as I did
now change value of scroll to achieve drag and scrolling together
|
This workaround works for iOS but not for Android unfortunately |
The component works well when it's wrapped in a element.
But when I insert it in a element, the page scrolls, but my draggable component does not drag. Is there a way to use draggable within ScrollView?
The text was updated successfully, but these errors were encountered: