You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The whole page shifts when the sidebar gets a scrollbar #45386
When selecting blocks, if the right sidebar doesn't have a scrollbar then suddenly gets one, the whole page shifts to the left, triggering repaint all over the place,
This could be fixed by having an overflow-y: scroll instead of an overflow: auto on the sidebar
Here's an example of the code I have currently to fix this:
// Avoid layout shift on block selection
.interface-interface-skeleton__sidebar:has(.interface-complementary-area){overflow-y: scroll;}
The issue comes from the fact that the sidebar content width is set to 280px and the sidebar width is set to auto with an overflow auto.
Activity