Skip to content
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 with Fixed Footer Always has Scrollbar #477

Open
3 tasks done
mpiggott opened this issue May 11, 2024 · 1 comment
Open
3 tasks done

[Bug]: Modal with Fixed Footer Always has Scrollbar #477

mpiggott opened this issue May 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mpiggott
Copy link

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:
@mpiggott mpiggott added the bug Something isn't working label May 11, 2024
@wuda-io
Copy link
Member

wuda-io commented May 13, 2024

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

wuda-io pushed a commit that referenced this issue May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants