react-trello icon indicating copy to clipboard operation
react-trello copied to clipboard

Selecting text on a card drags it instead

Open gcaptn opened this issue 3 years ago • 1 comments

Describe the bug Trying to select text while focused (on the card title / body / label) drags it instead

Expected behavior Text would be selected because it's focused

Actual behavior Selecting gets mistaken for dragging

Screenshots dragging

gcaptn avatar Jul 17 '21 15:07 gcaptn

Disabling the dragging functionality two parent components up the tree would be hard triggered from the InlineInput onMouseDown handler. Not ideal but its a bit easier to workaround double clicking words to select, and making use of option/alt/meta and arrow keys combined with shift to manipulate selection in the input.

KaiSpencer avatar Oct 05 '21 21:10 KaiSpencer