Skip to content

fix(modal): prevent double onConfirm and add body scroll lock#462

Merged
utksh1 merged 2 commits into
utksh1:mainfrom
siddiqui7864:fix/confirmmodal-double-event-scrolllock
Jun 1, 2026
Merged

fix(modal): prevent double onConfirm and add body scroll lock#462
utksh1 merged 2 commits into
utksh1:mainfrom
siddiqui7864:fix/confirmmodal-double-event-scrolllock

Conversation

@siddiqui7864
Copy link
Copy Markdown
Contributor

Fixes #460

@utksh1 utksh1 added level:beginner 20 pts difficulty label for small beginner-friendly PRs type:bug Bug fix work category bonus label area:frontend Frontend React/UI work gssoc:approved Admin validation: approved for GSSoC scoring labels Jun 1, 2026
Copy link
Copy Markdown
Owner

@utksh1 utksh1 left a comment

Choose a reason for hiding this comment

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

Reviewed after the main merge. The change prevents duplicate Enter/onClick confirmation handling, restores body scroll state on cleanup, and all CI checks are green. Good to merge.

@utksh1 utksh1 merged commit 6a00991 into utksh1:main Jun 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Frontend React/UI work gssoc:approved Admin validation: approved for GSSoC scoring level:beginner 20 pts difficulty label for small beginner-friendly PRs type:bug Bug fix work category bonus label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(modal): prevent double onConfirm and add body scroll lock

2 participants