From 615446beb7005776b24835e48e95d2246c769621 Mon Sep 17 00:00:00 2001 From: Lorenzo Tilve Date: Tue, 4 May 2021 14:35:07 +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: I404058f39ab90ee0ce87392d803a8693fc93a4ee --- src/styles/main.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/styles/main.scss b/src/styles/main.scss index e3fa602..26def86 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -7,6 +7,7 @@ html { background-size: cover; -webkit-overflow-scrolling: touch; overflow: hidden; + user-select: none; } @keyframes blink{ 0% { opacity: .25;} @@ -15,6 +16,13 @@ html { 75% { opacity: .5;} 100%{ opacity: .25;} } + +img { + user-select: none !important; + touch-action: none; + pointer-events: none; +} + body { overflow: hidden; @@ -31,4 +39,4 @@ body { background: white; font-size: 1.5rem; } -} \ No newline at end of file +} -- cgit 1.2.3-korg