-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
Their should be a method to compensate for the dialogs bahavior when it opens. The dialog remove the scroll bar when it opens. When the site contains fixed elements that causes the element to move slightly.
Current Behavior
I was not able to find a method to solve this issue with the current possibilities.
One way to solve the problem is to stop the removal of the scrollbar. This approach requires a way to diable the compensation in element like the AppBar etc.
The other method could be some kind of Component og props that allows the fixed element to compensate in the same way as the AppBar.
Steps to Reproduce (for bugs)
- Go to https://codesandbox.io/s/znwvvwq404
- Observe the face icon and the "right" text in the red box.
- Click the "Open Dialog" button
- Observe the position of the face icon and the "right" text in the red box.
Context
I tried to have fixed tabs right below the AppBar. In order to do that i wrapped the tabs in a div and fixed it. After that i used flexbox to center the Tabs.
Your Environment
| Tech | Version |
|---|---|
| Material-UI | 1.0.0-beta.16 |
| React | 15.6.1 |
| browser | Google Chrome Version 61.0.3163.100 |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.type: bugIt doesn't behave as expected.It doesn't behave as expected.