This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
[Drawer] Modal Drawer Does not Account for Mobile Browser's Auto Hide URL Bar #7644
Closed
Description
Bug report
Steps to reproduce
- Using chrome for mobile browser, go to https://material-components.github.io/material-components-web-catalog/#/component/drawer/modal
- Open the modal drawer.
- Scroll the scrim down.
- As you scroll, the browser will try ro hide their URL bar.
- When the browser do that, the scrim and drawer are 'lifted up', and not fully cover the underlying page.
Actual behavior
The scrim and drawer does not cover the bottom part when the browser s bar goes to hide
Expected behavior
The drawer and the scrim cover all the screen
Screenshots
Video attached
Your Environment:
- Chrome for android in a Samsung phone
Software | Version(s) |
---|---|
MDC Web | |
Browser | |
android |
Additional context
Possible solution
Drawer scrim class css modified to cater the case ?
Thankyou for this awesome library!