]> source.dussan.org Git - nextcloud-server.git/commitdiff
Avoid scrolling to the hidden input when toggling grid/list view 16005/head
authorJulius Härtl <jus@bitgrid.net>
Wed, 19 Jun 2019 07:35:52 +0000 (09:35 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 19 Jun 2019 07:35:52 +0000 (09:35 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/css/files.scss

index 0885efa423f6cf7af7eb6d2881a29869cbdb34f0..4cde7d03d29b71fc2adf140809f83a804d5b5f34 100644 (file)
@@ -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 {