Clipped Drawer Example Overflow Bug #20366
Labels
component: drawer
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
good first issue
Great for first contributions. Enable to learn the contribution process.
In the clipped drawer example, the top of the scroll bar is clipped beneath the header when it overflows (as the example does). An extra child element is added to the top to prevent this from causing content to be hidden beneath the header, but that still leaves the scroll bar flowing beneath the header.
Current Behavior 😯
When drawer content overflows, the scroll bar continues beneath the header and is not fully visible.
Expected Behavior 🤔
The scroll bar appears in it's entirety beneath the header when drawer content overflows in this example.
Steps to Reproduce 🕹
https://material-ui.com/components/drawers/
Scroll to 'clipped under the app bar' and look at it. Optionally add
display: none
to the app bar to see the rest of the scroll bar that's cut off currently.Context 🔦
I believe these examples should provide best practices and be as close to ready out of the box as possible. The cut off scroll bar looks visually unappealing.
Your Environment 🌎
The text was updated successfully, but these errors were encountered: