nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.93k stars 1.53k forks source link

[BUG] - The scrollbar in the Modal with mobile view is not working #1820

Closed catmengli closed 3 months ago

catmengli commented 1 year ago

NextUI Version

2.1.13

Describe the bug

If an inside scrollbar is enabled in ModalBody, something weird occurs: the top area of ModalBody is not working while the bottom area is fine. When scrolling in the top area, the focus isn't even on the modal but on the page below, and the page below scrolls.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

In Modal docs, the bug is just there. Use the Overflow scroll preview, open it in mobile view, try to scroll on top area of modalbody content. The modal content won't scroll but the doc page scrolls

Expected behavior

Scroll normally on modal content

Screenshots or Videos

Screen Recording - Made with FlexClip.webm

Operating System Version

Windows

Browser

Chrome

wingkwong commented 3 months ago

Closing - no longer reproducible