clauderic / react-sortable-hoc

A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️
https://clauderic.github.io/react-sortable-hoc/
MIT License
10.77k stars 978 forks source link

fix: Fix dragging on iOS when zooming #833

Open IArny opened 2 years ago

IArny commented 2 years ago

This commit is fixing a bug when user of iOS zooming screen with sortable elements. When two sortable items are touched then handlePress function fires two times and after releasing item one of them runs away from screen.

https://user-images.githubusercontent.com/42856876/156889617-dbb30691-3ce9-4ae3-826a-cb9d6851b3bb.mp4

codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c5cadbc0038de0b617d24a83a35481d83c0b7efe:

Sandbox Source
react-sortable-hoc-starter Configuration
IArny commented 2 years ago

@clauderic review pull request please, really need this fix