react-component / react-component/virtual-list

Scrolling on Android breaks after selecting slide text

Open
#244 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
814
Forks
171
Avg merge
1h 3m
Merged PRs (30d)
3

Description

Steps to reproduce:
  1. open https://virtual-list-react-component.vercel.app/demo/basic on Android device (Chrome browser)
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.