From f33e81d6fd2975d235313e4ee0d490d25be19cd2 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 8 Nov 2025 18:57:58 +0100 Subject: Fix scrolling on mobile finally! --- src/frontend/app/components/StopSheet.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/frontend/app/components/StopSheet.css') diff --git a/src/frontend/app/components/StopSheet.css b/src/frontend/app/components/StopSheet.css index 41dfbe0..31770a1 100644 --- a/src/frontend/app/components/StopSheet.css +++ b/src/frontend/app/components/StopSheet.css @@ -4,6 +4,15 @@ touch-action: none; } +/*.react-modal-sheet-content > * > *:not(.stop-sheet-actions){ + interactivity: inert; +}*/ + +.react-modal-sheet-content-scroller { + overscroll-behavior-y: unset !important; + overflow-y: unset !important; +} + .stop-sheet-content { padding: 16px; display: flex; @@ -45,7 +54,6 @@ scrollbar-width: thin; gap: 0.5rem 1rem; overflow-x: scroll; - overflow-y: auto; } .stop-sheet-lines-container.scrollable::-webkit-scrollbar { @@ -72,7 +80,6 @@ .stop-sheet-estimates { flex: 1; - overflow-y: auto; min-height: 0; margin-block-start: 1.25rem; } -- cgit v1.3