Skip to content

fix: use drag threshold on card outer area#7

Merged
jonathan-beebe merged 1 commit into
mainfrom
fix/005-card-outer-drag-bypasses-threshold
Mar 29, 2026
Merged

fix: use drag threshold on card outer area#7
jonathan-beebe merged 1 commit into
mainfrom
fix/005-card-outer-drag-bypasses-threshold

Conversation

@jonathan-beebe
Copy link
Copy Markdown
Owner

Summary

  • Card outer div's onPointerDown was calling fireDragStart directly, bypassing the 4px movement threshold
  • Changed to use startPendingDrag consistently for both the text button and outer card padding area
  • Prevents accidental drag-start + drop cycles from taps/clicks on card padding
  • Resolves BUG-005

Test plan

  • New test: verifies onDragStart is not called immediately on pointerdown on card outer area
  • Full test suite passes (213 tests)

🤖 Generated with Claude Code

The outer div's onPointerDown was calling fireDragStart directly,
bypassing the 4px movement threshold. Now uses startPendingDrag
consistently for both the text button and outer card area.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 29, 2026

Deploy Preview for golden-scone-6bfeb1 ready!

Name Link
🔨 Latest commit 7015b54
🔍 Latest deploy log https://app.netlify.com/projects/golden-scone-6bfeb1/deploys/69c94a947fec4f00094da3a2
😎 Deploy Preview https://deploy-preview-7--golden-scone-6bfeb1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jonathan-beebe jonathan-beebe merged commit 07ff97f into main Mar 29, 2026
5 checks passed
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