Skip to content
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

SwipeGestureHandler makes all other swipeable controls inside it unusable #6781

Open
igiona opened this issue Nov 13, 2024 · 0 comments
Open
Labels
need triaging Issue that the owner of the area still need to triage

Comments

@igiona
Copy link

igiona commented Nov 13, 2024

When SwipeGestureHandler configured for detecting a swipe 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 lieft swipes.
I want to detect a "go-back".

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 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?

@igiona igiona changed the title SwipeGestureHandler makes all other controls inside it unusable SwipeGestureHandler makes all other swipeable controls inside it unusable Nov 13, 2024
@FloVanGH FloVanGH added the need triaging Issue that the owner of the area still need to triage label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need triaging Issue that the owner of the area still need to triage
Projects
None yet
Development

No branches or pull requests

2 participants