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
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