Skip to content

ref: changes draggable card element to be <a> instead of <li>#274

Merged
viniciusoyama merged 1 commit intomainfrom
fix-vivaldi-drag-and-drop
Sep 4, 2025
Merged

ref: changes draggable card element to be <a> instead of <li>#274
viniciusoyama merged 1 commit intomainfrom
fix-vivaldi-drag-and-drop

Conversation

@viniciusoyama
Copy link
Copy Markdown
Collaborator

@viniciusoyama viniciusoyama commented Sep 4, 2025

This PR fixes the card Drag/Drop on Vivaldi browser as reported on #273

Cause

The old HTML structure with a draggable li containing an a inside was causing the bug (probably because the link was capturing the mouse down event). As explained in the issue, this error doesn't happen with the new implementation using React in the PRO Edition so it's not worth spending too much time checking it.

Solution

I've changed the card list structure to be a div > a.card instead of ul > li.card > a so the a is the draggable element

OBS

The same error happens if we try to drag/drop a column. But in this case we still can execute the action by start the drag on the top-left corner of the column.

@viniciusoyama viniciusoyama merged commit 4d6a89d into main Sep 4, 2025
2 checks passed
@viniciusoyama viniciusoyama deleted the fix-vivaldi-drag-and-drop branch September 4, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant