Fix tool shelf's scrollbar layout shift

Caused by Chromium 113 removing `overflow: overlay;`.
This fixes it for just the tool shelf.
This commit is contained in:
Keavon Chambers
2023-08-03 23:33:24 -07:00
parent 50b67bf6f6
commit a267582b4c
3 changed files with 3 additions and 13 deletions
@@ -200,7 +200,7 @@
bind:this={self}
>
<!-- If we put the scrollableY on the layoutcol for non-font dropdowns then for some reason it always creates a tiny scrollbar.
However when we are using the virtual scrolling then we need the layoutcol to be scrolling so we can bind the events without using $refs. -->
However when we are using the virtual scrolling then we need the layoutcol to be scrolling so we can bind the events without using `self`. -->
<LayoutCol
bind:this={scroller}
scrollableY={scrollableY && virtualScrollingEntryHeight !== 0}