When a SwipeGestureHandler is configured for detecting a swipe and it contains i.e. a slider, the slider gets barely usable.
You can try it on the main page in the following repo rs-watch repo.
There the gesture handler is configured to detect only left swipes.
I want to detect a "go-back" action from the user.
In the VsCode previewer, you can press the "Settings" item, to land in the page in which a slider is present.
Note that if you try to slider the slider first to the right and then to the left, everything seams alright.
If you first move it to the right though, as soon as the SwipeGestureHandler detects the swipe gesture the slider stops being tracked.
Is this behaviour intentional?
If yes, what's the preferred way to use the SwipeGestureHandler among with other "swipeable" UI elements?
When a
SwipeGestureHandler
is configured for detecting a swipe and it contains i.e. a slider, the slider gets barely usable.You can try it on the main page in the following repo rs-watch repo.
There the gesture handler is configured to detect only left swipes. I want to detect a "go-back" action from the user.
In the VsCode previewer, you can press the "Settings" item, to land in the page in which a slider is present. Note that if you try to slider the slider first to the right and then to the left, everything seams alright. If you first move it to the right though, as soon as the
SwipeGestureHandler
detects the swipe gesture the slider stops being tracked.Is this behaviour intentional? If yes, what's the preferred way to use the
SwipeGestureHandler
among with other "swipeable" UI elements?