clauderic / clauderic/react-sortable-hoc

Dragging selects text in items below

Open
#703 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

I have a vertical stack of items. As I drag one item over the the others, the text in the items that I drag over is getting selected, as would be expected if I click-and-dragged normally. What's the best way to suppress that behavior? Do I need to write callbacks for the dragged-over items to ignore that mouse-down event?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with a vertical stack and inspect the sortable drag behavior around items crossed during a drag. Determine how to prevent text selection without requiring callbacks on every dragged-over item; done means dragging an item no longer selects text in the items beneath it.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.