react-component / react-component/virtual-list
Scrolling on Android breaks after selecting slide text
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 814
- Forks
- 171
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 3
Description
Steps to reproduce:
- open https://virtual-list-react-component.vercel.app/demo/basic on Android device (Chrome browser)
- select text in slide (for example 2)
Expected result:
scrolling works
Actual result:
scroll doesn't work
PS There seems to be a problem with onTouchEnd in https://github.com/react-component/virtual-list/blob/master/src/hooks/useMobileTouchMove.ts because the states in refs are not cleared
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
Reproduce the issue on the demo/basic page using Android Chrome by selecting text in a slide. Then inspect src/hooks/useMobileTouchMove.ts, starting with onTouchEnd and the referenced state refs. Done means scrolling works again after selecting slide text without breaking the existing touch behavior.
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
- Clearly specified
- Newbie friendliness
- 45/100