[Bug]: Modal with Fixed Footer Always has Scrollbar
mpiggott opened this issue · comments
Matthew Piggott commented
Before submitting...
- I have searched for duplicate or closed issues.
- I have read the CONTRIBUTING document and my issue is following the guidelines.
- I have read the template completely before filling it in.
Context
It appears the modal with fixed-footer is a pixel or two too large which results in a scrollbar always being present on the page. This is present even on the materializeweb site example.
Current Behavior
There is always a scrollbar even if the content does not overflow the modal.
Expected behavior
I'd expect a scrollbar to only be visible if the content overflows.
Possible Solutions or Causes
No response
Steps to reproduce
- https://materializeweb.com/modals.html
- Scroll to Modals with Fixed Footer
- Click button :)
Your Environment
- Version used: 2.0.4
- Browser Name and version: 124.0.6367.119
- Operating System and version (desktop or mobile): Windows 10
- Additional information you want to tell us:
Daniel Wurzer commented
Hello, thanks for reporting.
This is due to the top border of the footer.