Skip to content

feat(ui): lock body scroll and add top-right close button to badge modal - #289

Open
RajGahoi wants to merge 1 commit into
O2sa:mainfrom
RajGahoi:fix/badge-modal-scroll-close
Open

RajGahoi wants to merge 1 commit into
O2sa:mainfrom
RajGahoi:fix/badge-modal-scroll-close

Conversation

@RajGahoi

@RajGahoi RajGahoi commented Dec 2, 2026

Copy link
Copy Markdown

Closes #275

  • Lock document.body.style.overflow = "hidden" when badgeDialogOpen is true and restore the previous overflow value on close/unmount in src/features/developer/components/user-profile-client.tsx.
  • Add a top-right X close button in the badge modal header with aria-label={t("profile.close")} that closes the dialog.

Signed-off-by: Raj Gahoi <gahoiraj01@gmail.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

This branch has not been deployed

No deployments
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.

enhancement: Add body scroll lock and top-right close button to README Badge Modal

1 participant