react-component / react-component/slider
Slider reacting to wrong gesture on touch devices
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
First of all thank you for this over the moon great component 🔥
My issue is relevant on touch screens and I'm not sure if it is a problem of the component itself but I would love some suggestions / fixes for this issue.
My slider is horizontal and I have a few rendered below each other. When trying to navigate up and down the page and accedently touching a slider it also moves and thus blocks my navigation.
The ideal solution I can think of is a prop that could turn off this behaviour like interactHorizontal and interactVertical.
Example of the issue

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named in the issue. Start by reproducing the touch-screen behavior with stacked horizontal sliders and trace the component's touch gesture handling; done means vertical page scrolling no longer moves the slider, while intended horizontal interaction still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100