From 33fa17fc7aaece83d559ff9cf24d701a1d208dc3 Mon Sep 17 00:00:00 2001 From: Daniel Stock Date: Fri, 2 Oct 2026 22:26:59 +0200 Subject: [PATCH] Fixed an error where y-scrolling has a higher specificity in css and thus a rule while dragging wasn't working. --- src/snappy.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/snappy.css b/src/snappy.css index bdef2fd..5ad13dd 100644 --- a/src/snappy.css +++ b/src/snappy.css @@ -11,8 +11,8 @@ scroll-snap-type: x mandatory; &.is-dragging { - scroll-snap-type: none; - scroll-behavior: unset; + scroll-snap-type: none !important; + scroll-behavior: unset !important; } } @@ -30,6 +30,10 @@ background-color: silver; } + .prev, .next { + touch-action: manipulation; + } + /* Options */ &[data-scroll-direction="y"] .scroll-container {