From d7db845f3b243e05387f9035ed0746a991500bc3 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Mon, 30 Jan 2023 23:52:46 -0500 Subject: [PATCH] Scroll snap was a bad idea --- src/video-grid/NewVideoGrid.module.css | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/video-grid/NewVideoGrid.module.css b/src/video-grid/NewVideoGrid.module.css index f30f12c8..27c453ff 100644 --- a/src/video-grid/NewVideoGrid.module.css +++ b/src/video-grid/NewVideoGrid.module.css @@ -4,7 +4,6 @@ flex-grow: 1; padding: 0 22px; overflow-y: auto; - scroll-snap-type: both mandatory; } .slotGrid { @@ -18,12 +17,4 @@ .slot { contain: strict; - scroll-snap-align: start; -} - -.slot:last-child { - /* This causes the grid to scroll up smoothly to the last item when its height - shrinks, and ensures that the user can always scroll the last row fully in - view */ - scroll-snap-align: end; }