From cf4b59ddcd244412339eb6568b4c4ddcf90124f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sat, 4 Apr 2020 22:18:09 +0200 Subject: [PATCH] Disable snap.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index dd5e1b237..cb2e9fe25 100644 --- a/src/main.js +++ b/src/main.js @@ -30,6 +30,9 @@ import { Tooltip } from '@nextcloud/vue' import ClickOutside from 'vue-click-outside' import './models' +// the server snap.js conflicts with vertical scrolling so we disable it +document.body.setAttribute('data-snap-ignore', 'true') + // eslint-disable-next-line __webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-next-line