New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Modal - size="full" not working correctly with scrollBehavior="inside" #2681
Labels
🐛 Type: Bug
Something isn't working
Comments
This was referenced Apr 11, 2024
When
Maybe there is some design decision taken for that calculation, but the below code can fix this bug
Note:- If needed i could generate a PR for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NextUI Version
2.2.10
Describe the bug
Hey, I just discovered that I can't have fullscreen modal with scrollable body. If I try to eg.
it results in modal stopping being full screen.
Your Example Website or App
https://codesandbox.io/p/devbox/heuristic-jasper-4hd333?file=%2FApp.jsx%3A24%2C19
Steps to Reproduce the Bug or Issue
When using modal add both props size="full" and scrollBehavior="inside"
Expected behavior
Modal should stay fullscreen
Screenshots or Videos
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: