From 086f40bce2b1b1ce8e62436a6f909f93b85a0d17 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Tue, 4 May 2021 14:37:52 +0200 Subject: Disable dragging and zoom events on app images Events triggered by webapps on those actions were producing some race conditions eventually causing a freeze. So disabling those and hiding displaying draggable link. Bug-AGL: SPEC-3786 Signed-off-by: Lorenzo Tilve Change-Id: Idaeb49143c98373b94be019974694f19f67ccb53 --- src/styles/main.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/styles/main.scss b/src/styles/main.scss index e5e81f5..b33abd1 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -6,6 +6,13 @@ html { height: 100%; background-size: cover; -webkit-overflow-scrolling: touch; + user-select: none; +} + +img { + user-select: none !important; + touch-action: none; + pointer-events: none; } body { @@ -24,4 +31,4 @@ body { background: white; font-size: 1.5rem; } -} \ No newline at end of file +} -- cgit 1.2.3-korg