clauderic / clauderic/react-sortable-hoc
pressDelay should only affect touch events
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 959
- PR merge metrics
- No merged PRs in 30d
Description
`pressDelay` affects both mouse click and touch events. It works really well on touch devices but it does not feel natural with a mouse device. You expect to be able to drag an item with a mouse instantly and it doesn't seem to be easily discoverable that you are supposed to click and hold for a duration of time before being able to drag. **Perhaps `pressDelay` setting should only affect touch devices.** There it is useful to avoid accidental reorder on scrolling.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how the pressDelay setting is applied across mouse and touch event entry points. The change is complete when mouse dragging starts immediately while touch interactions still honor pressDelay, with both behaviors verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100