Jaishree2310/GlassyUI-Components

BUG:Background content remains scrollable when modal component is open

开放

#527 创建于 2026年5月16日

 (14 条评论) (0 个反应) (0 位负责人)TypeScript (217 个派生)auto 404
good first issuegssoc'26gssoc:approvedlevel:beginnertype:bug

仓库指标

星标
 (114 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Preliminary Check

  • I have searched the existing issues
  • This issue is reproducible

Bug Summary

When opening the modal component, the background page content remains scrollable instead of locking the scroll behavior. This can lead to an inconsistent user experience, especially on smaller screens and mobile devices.

Fixing this issue would improve user experience and make the modal behavior more aligned with standard UI/UX practices.

I would like to work on this issue under GSSoC 2026.

Steps to Reproduce

  1. Open the modal component
  2. Try scrolling the page in the background
  3. Observe that the background content still scrolls while the modal is active

Expected Behavior

The background page scroll should be disabled while the modal is open, and restored once the modal is closed.

Screenshots/Logs

No response

Additional Information

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC'24 contributor
  • I want to work on this issue
  • I can provide more details if needed

贡献者指南