Description of the issue: Sidebar shadow/overlay persists after sidebar is collapsed or closed. A visual artifact remains visible on the left portion of the screen where the sidebar was previously displayed, overlaying the main content area.
Steps to Reproduce:
-
Open Brave browser with sidebar visible
-
Collapse or close the sidebar (toggle sidebar off)
-
Observe the main content area where sidebar was previously located
Actual Result: A shadow or overlay element remains visible on the left side of the screen after the sidebar is hidden. The artifact persists and obscures part of the main window content.
Expected result: When the sidebar is collapsed or closed, all associated visual elements (including shadows, overlays, and backdrop elements) should be completely removed from view. The main content area should be fully visible without any residual shadow artifacts.
Reproduces how often: Intermittent - occurs sometimes when toggling the sidebar closed. Disappears when a new tab is opened with CRTL+T
Operating System and Brave Version:
-
OS: Windows 11
-
Brave Version: 1.82.172 (Official Build) (64-bit)
-
Chromium Version: 140.0.7339.207
Additional Information: The issue appears to be a rendering bug where shadow/overlay DOM elements or CSS pseudo-elements associated with the sidebar are not being properly cleaned up during the sidebar’s state transition. Possible z-index stacking context issue or incomplete CSS transition leaving opacity/transform values in intermediate state.
