Skip to content

Remove dragDisabled class to prevent accidential text selection when dragging a card - #7765

Merged
grnd-alt merged 1 commit into
mainfrom
7279-drag-cards-by-dragging-them-over-the-title-text-instead-of-selecting-it
Mar 24, 2026
Merged

grnd-alt merged 1 commit into
mainfrom
7279-drag-cards-by-dragging-them-over-the-title-text-instead-of-selecting-it

Conversation

@theoholl

@theoholl theoholl commented Mar 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The card title could be selected with the cursor, which often caused accidental text selection when trying to drag a card. This PR removes the dragDisabled class from the card title so that card is dragged instead of text selected.

Especially small cards with only title text and little 'draggable padding' suffered from the text selection issue (see screencast below).

Before:

Screencast.Bug.mp4

After:

Screencast.Fixed.mp4

…n dragging a card

Signed-off-by: Theo <36564257+theoholl@users.noreply.github.com>
@lemoer

lemoer commented Mar 23, 2026

Copy link
Copy Markdown

Thank you for opening this pull request! I feel that this is a hughe improvement for the product. I often see coworkers struggling with this and it causes distraction in our meetings.

I hope someone will review and merge it soon!

@grnd-alt
grnd-alt merged commit 2cafcb5 into main Mar 24, 2026
35 of 36 checks passed
@grnd-alt
grnd-alt deleted the 7279-drag-cards-by-dragging-them-over-the-title-text-instead-of-selecting-it branch March 24, 2026 11:04
@github-actions

github-actions Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drag cards by dragging them over the title text instead of selecting it.

3 participants