Dark mode: White box is showing up in the right up corner when a user switches from dark to light and vice versa on Pixel 4 mobile device
Describe the bug White box is showing up in the right up corner when a user switches from dark to light and vice versa on Pixel 4 mobile device
To Reproduce Steps to reproduce the behavior:
- Go to app.aave.com
- Click on the Markets and open any of the listed assets
- Enable mobile simulator on chrome and choose " Pixel 4"
- Open the hamburger in the right upper corner and switch between dark/light mode
- Observe
Expected behavior "White box" must not be visible
Screenshots
https://user-images.githubusercontent.com/104987757/197564752-ede3f4ed-46f3-49d6-8e29-d7b191e5271f.mov
Smartphone (please complete the following information):
- Pixel 4 ( Chrome simulator) Screen resolution (353x745)
I managed to reproduce it in prod and on the simulator. Can I pick the issue?
The issue seems to happen when opening the menu, when opening up drawer or dialog, MUI adds a padding to the body, It can be simply fixed by disabling that on the drawer component.