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

Scrollbar is always shown in MUI V5 #24421

Closed
2 tasks done
pondorasti opened this issue Jan 14, 2021 · 1 comment
Closed
2 tasks done

Scrollbar is always shown in MUI V5 #24421

pondorasti opened this issue Jan 14, 2021 · 1 comment
Labels
component: CssBaseline The React component duplicate This issue or pull request already exists

Comments

@pondorasti
Copy link

I have started to look into MUI v5, and transition my own project, however I couldn't help but notice that scrollbars behave differently.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Right now, anywhere throughout next.material-ui, a scrollable area's content is shifted by a ~15px scrollbar that is always shown.

Screenshot 2021-01-14 at 15 33 24

Expected Behavior 🤔

I was hoping that scrollbars would look visually the same as the current stable release, where a scrollbar is overlaid on top of the content and only shown when you scroll.

Screenshot 2021-01-14 at 15 35 26

Steps to Reproduce 🕹

I have just compared next.material-ui.com and material-ui.com.

Your Environment 🌎

Operating System: macOS Catalina 10.15.7 (19H15)
Browser: Safari 14.0.1 (15610.2.11.51.10, 15610)

@pondorasti pondorasti added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 14, 2021
@pondorasti pondorasti changed the title Scrollbar is always showed in MUI V5 Scrollbar is always shown in MUI V5 Jan 15, 2021
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 15, 2021
@oliviertassinari
Copy link
Member

Duplicate of #23520

@oliviertassinari oliviertassinari marked this as a duplicate of #23520 Jan 15, 2021
@oliviertassinari oliviertassinari added the component: CssBaseline The React component label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: CssBaseline The React component duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants