Skip to content

Fix reset progress functionality#1

Merged
davidagustin merged 1 commit into
mainfrom
claude/fix-reset-progress-dOvQo
Jan 11, 2026
Merged

Fix reset progress functionality#1
davidagustin merged 1 commit into
mainfrom
claude/fix-reset-progress-dOvQo

Conversation

@davidagustin
Copy link
Copy Markdown
Owner

The click-outside handler was using mousedown which fires before click. When clicking the confirm button, the handler would close the dialog before the click event could trigger handleConfirmReset, preventing the reset from executing.

Added a ref to the confirmation dialog and updated the click-outside handler to also check if clicks occur inside the dialog.

The click-outside handler was using mousedown which fires before click.
When clicking the confirm button, the handler would close the dialog
before the click event could trigger handleConfirmReset, preventing
the reset from executing.

Added a ref to the confirmation dialog and updated the click-outside
handler to also check if clicks occur inside the dialog.
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 11, 2026

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

Project Deployment Review Updated (UTC)
coding-tricks-practice Ready Ready Preview, Comment Jan 11, 2026 4:09am

@davidagustin davidagustin merged commit 81d93ab into main Jan 11, 2026
4 checks passed
@davidagustin davidagustin deleted the claude/fix-reset-progress-dOvQo branch January 11, 2026 04:09
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