Skip to content

Commit

Permalink
Merge pull request #16154 from nextcloud/fix/noid/accessibility-focus…
Browse files Browse the repository at this point in the history
…able-viewtoggle

Make possible to focus grid/list view toggle via keyboard
  • Loading branch information
rullzer authored Aug 15, 2019
2 parents d14aed1 + cbc3862 commit 465e919
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/files/css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1080,9 +1080,15 @@ table.dragshadow td.size {
opacity: 1;
}
}
/* Make sure the hidden input is not rendered at all to avoid scrolling to top */

/**
* Make sure the hidden input is always
* on the visible scrolled area of the
* page to avoid scrolling to top when focusing
*/
#showgridview {
display: none;
position: fixed;
top: 0;
}

/* Adjustments for link share page */
Expand Down

0 comments on commit 465e919

Please sign in to comment.