statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Dragging a block in bard selects text, hardly controllable #2379

Closed andypillip closed 5 years ago

andypillip commented 5 years ago

Describe the bug When I drag a block in Bard to drop it somewhere, text in between is being selected, which results in uncontrollable scrolling, and I end up dropping the block somewhere I didn't intend to.

I think the issue appeared after the v2.11.10 upgrade, and I'm using Firefox.

To Reproduce Steps to reproduce the behavior:

  1. Go to Control Panel for a page that uses bard
  2. Paste some lorem ipsum
  3. and create a block below, f.e. for an image
  4. Click and hold to drag the block above the text

Expected behavior The block displays a line above the text where you can drop it. When dropping it, the block is being moved to the new position.

Screenshots Drag ghost and selecting text at the same time You can see the ghost of the block in the text selection.

Environment details (please complete the following information):