Fix scrolling on mobile browsers

fixes #164

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-12-08 14:57:51 +01:00
committed by Julius Härtl
parent 6d8afe6252
commit 84502db00b

View File

@@ -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 { .app-popover-menu-utils {
margin-left: auto; margin-left: auto;
min-height: 16px; min-height: 16px;