mattermost-community/focalboard

Bug: Unable to drag to select text in table view

Open

#4844 opened on Sep 6, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (26,187 stars) (2,542 forks)user submission
Help WantedSev/3Up for grabs

Description

Steps to reproduce the behaviour

  1. Create or go to a board in table view
  2. Ensure that the view has an editable text column
  3. Attempt to drag to select text from within that column

Expected behaviour

The text is selected. Instead, the whole row is picked up and dragged, and if you drop it, it often gets moved even if you drop it in the same place you started.

At a higher level, I'd expect clicking and dragging the mouse to only trigger text selection as long as the cursor is within an editable textbox. I'd only expect the whole row to get dragged when first clicking outside of an editable field.

Edition and Platform

  • Boards plugin on community in MM Desktop App on Mac
  • Focalboard 0.15.2 (33) standalone on Mac

Additional context

This might be related to https://github.com/mattermost/focalboard/issues/1620, but I'm not sure if those components handle dragging/selection differently

Contributor guide