Skip to content

Conversation

@regenrek
Copy link
Contributor

@regenrek regenrek commented Nov 4, 2025

This pull request contains changes generated by a Cursor Cloud Agent

Open in Cursor Open in Web


Note

Introduces a cross-platform useDoubleClick React hook with iOS touch/ghost-click handling, plus comprehensive tests, documentation, and a demo route.

  • Frontend:
    • Hook: Add src/hooks/use-double-click.ts providing useDoubleClick and useDoubleClickOnly with configurable delay, single vs double-click handling, iOS detection, touch handling, ghost-click prevention, and cleanup.
    • Demo: Add src/components/examples/DoubleClickDemo.tsx and route src/routes/dashboard/double-click-demo/route.tsx for interactive testing at /dashboard/double-click-demo.
  • Testing:
    • Add tests/use-double-click.test.ts covering double/single-click timing, iOS touch behavior, ghost-click prevention, and edge cases.
  • Docs:
    • Add best-practices guide docs/best-practices/ios-double-click-handling.md and task summary docs/tasks/ios-double-click-fix.md detailing API, usage, implementation, and testing.

Written by Cursor Bugbot for commit 12a8c67. Configure here.

@cursor
Copy link

cursor bot commented Nov 4, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
constructa-starter Ready Ready Preview Nov 4, 2025 10:45am

@regenrek
Copy link
Contributor Author

regenrek commented Nov 5, 2025

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no bugs!


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.

3 participants