Address relayout challenges for the navigation
Problem to solve
When we opening the navigation sidebar, we resize the main container and cause the browser to repaint all the elements within. Peeking doesn’t do this because it appears over the top of the content.There’s some potential fixes in this article, but the problem really needs to be solved at the issue level to have any real impact https://web.dev/avoid-large-complex-layouts-and-layout-thrashing/?utm_source=devtools#avoid-forced-synchronous-layouts
Comparison
| When an issue has tons of content | Lightweight repaints smoothly |
|---|---|
| Heavy issue.mp4 | Smooth.mp4 |
Edited by Austin Regnery