From 84502db00bc3cc670643813f02a2bc5dac8be41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 8 Dec 2017 14:57:51 +0100 Subject: [PATCH] Fix scrolling on mobile browsers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #164 Signed-off-by: Julius Härtl --- css/style.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/css/style.scss b/css/style.scss index c2414559e..8b0d5fb91 100644 --- a/css/style.scss +++ b/css/style.scss @@ -515,6 +515,22 @@ input.input-inline { } } +/* ng-sortable: Fix mobile touch scrolling */ +.as-sortable-item, +.as-sortable-item-handle { + -ms-touch-action: auto !important; + touch-action: auto !important; + -webkit-touch-callout: inherit !important; +} +/* disable scrolling only when a card is dragged */ +.as-sortable-un-selectable .as-sortable-item, +.as-sortable-un-selectable .as-sortable-item-handle { + -ms-touch-action: none !important; + touch-action: none !important; + -webkit-touch-callout: inherit !important; +} + + .app-popover-menu-utils { margin-left: auto; min-height: 16px;