react-component/virtual-list

Scrolling on Android breaks after selecting slide text

AlexeyRadkevich opened this issue · 0 comments

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