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

Grid results in too wide a layout when spacing is added to container #8906

Closed
CorayThan opened this issue Oct 30, 2017 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@CorayThan
Copy link

CorayThan commented Oct 30, 2017

  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When using a grid that scrolls vertically, a horizontal scrollbar should not be necessary.

Current Behavior

The grid looks like it generates double the needed spacing on the right side, resulting in a layout that is slightly too wide for the screen, and needs a horizontal scrollbar.

Steps to Reproduce (for bugs)

  1. Add spacing to a grid container
  2. Sometimes the issue happens

Here's the issue

Adding some padding to an outer div prevents it from happening

Tech Version
Material-UI 1.0.0-beta.18
React 16.0.0
browser chrome 61.0.3163.100
@CorayThan CorayThan changed the title Grid results in too wide a layout when spacing is 24 Grid results in too wide a layout when spacing is added to container Oct 30, 2017
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Oct 30, 2017
@oliviertassinari
Copy link
Member

It's a duplicate of #7466.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants