Add a workaround for a Safari rendering bug with floating menus

This commit is contained in:
Keavon Chambers
2024-01-17 00:58:07 -08:00
parent 002151d9c0
commit b4dccb8655
4 changed files with 18 additions and 1 deletions
@@ -25,6 +25,8 @@
<!-- Excluded events because these require `|passive` or `|nonpassive` modifiers. Use a <div> for these instead: `on:wheel`, `on:touchmove`, `on:touchstart` -->
<div
data-scrollable-x={scrollableX ? "" : undefined}
data-scrollable-y={scrollableY ? "" : undefined}
class={`layout-col ${className} ${extraClasses}`.trim()}
class:scrollable-x={scrollableX}
class:scrollable-y={scrollableY}