From 25a646e1ee88d50657feb28850877d33604bf3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 19 Jun 2019 09:35:52 +0200 Subject: [PATCH] Avoid scrolling to the hidden input when toggling grid/list view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files/css/files.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 0885efa423..4cde7d03d2 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -1079,6 +1079,10 @@ table.dragshadow td.size { opacity: 1; } } +/* Make sure the hidden input is not rendered at all to avoid scrolling to top */ +#showgridview { + display: none; +} /* Adjustments for link share page */ #body-public {