materializecss / materialize

Materialize, a web framework based on Material Design

Home Page:https://materializeweb.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Modal with Fixed Footer Always has Scrollbar

mpiggott opened this issue · comments

Before submitting...

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

  1. https://materializeweb.com/modals.html
  2. Scroll to Modals with Fixed Footer
  3. 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:

Hello, thanks for reporting.
This is due to the top border of the footer.