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

Opening Modals adds padding to right of components #10969

Closed
jpung opened this issue Apr 9, 2018 · 1 comment
Closed

Opening Modals adds padding to right of components #10969

jpung opened this issue Apr 9, 2018 · 1 comment
Labels
component: modal This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@jpung
Copy link
Contributor

jpung commented Apr 9, 2018

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

Expected Behavior

Opening a modal should not add any padding anywhere

Current Behavior

When i open a select or a modal < overflow: hidden; padding-right: 15px> is suddenly added to the div styles as a hardcoded style

Steps to Reproduce (for bugs)

Opening any modals or select dropdowns trigger the issue. I've checked and its even happening on the material-ui-next site.

Context

Just occured today, it was fine and then all of sudden the right side started messing up, i got this random white column next to my scrollbar(ive gotten rid of it) and then i realized the padding issue

Your Environment

Tech Version
Material-UI 1.0.0-beta.41
React 16.2.0
browser Chrome
etc
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Apr 9, 2018
@oliviertassinari
Copy link
Member

It's a duplicate of #10000.

@oliviertassinari oliviertassinari added the component: modal This is the name of the generic UI component, not the React module! label Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants