interface icon indicating copy to clipboard operation
interface copied to clipboard

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

Open bojanaave opened this issue 4 years ago • 2 comments

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:

  1. Go to app.aave.com
  2. Click on the Markets and open any of the listed assets
  3. Enable mobile simulator on chrome and choose " Pixel 4"
  4. Open the hamburger in the right upper corner and switch between dark/light mode
  5. 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)

bojanaave avatar Oct 24 '22 15:10 bojanaave

I managed to reproduce it in prod and on the simulator. Can I pick the issue?

0xOptimism avatar Jan 07 '23 03:01 0xOptimism

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.

joshua-decristi avatar Apr 14 '23 19:04 joshua-decristi