Skip to content

Fix: Make placeholder cards non-draggable and prevent table-to-hand c…#2532

Open
khushal-winner wants to merge 1 commit intoOWASP:masterfrom
khushal-winner:fix/card-drag-drop-prevention
Open

Fix: Make placeholder cards non-draggable and prevent table-to-hand c…#2532
khushal-winner wants to merge 1 commit intoOWASP:masterfrom
khushal-winner:fix/card-drag-drop-prevention

Conversation

@khushal-winner
Copy link
Contributor

Closes - #2485

  • Updated Dragula invalid function to prevent dragging placeholder text elements
  • Added checks for 'Waiting for', 'You can play', and 'should play' text patterns
  • Enhanced accepts function to block table-to-hand card movement
  • Made placeholder text elements non-draggable with CSS properties
2026-03-06.02-45-42.mp4

…ard movement

- Updated Dragula invalid function to prevent dragging placeholder text elements
- Added checks for 'Waiting for', 'You can play', and 'should play' text patterns
- Enhanced accepts function to block table-to-hand card movement
- Made placeholder text elements non-draggable with CSS properties
@khushal-winner khushal-winner force-pushed the fix/card-drag-drop-prevention branch from 696c847 to 5e6e5fb Compare March 6, 2026 09:58
@khushal-winner
Copy link
Contributor Author

@rewtd , can u take review it is fixed now and clean to merge?

@sydseter
Copy link
Collaborator

sydseter commented Mar 7, 2026

@khushal-winner I will have a look when I have time, thanks for the fix.

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.

2 participants