Skip to content

Commit

Permalink
fix(web): page down shortcut (#9397)
Browse files Browse the repository at this point in the history
fix: page down shortcut
  • Loading branch information
martabal committed May 11, 2024
1 parent 55a7e54 commit 8fdcaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/lib/components/photos-page/asset-grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
{ shortcut: { key: '/' }, onShortcut: () => goto(AppRoute.EXPLORE) },
{ shortcut: { key: 'A', ctrl: true }, onShortcut: () => selectAllAssets(assetStore, assetInteractionStore) },
{ shortcut: { key: 'PageUp' }, onShortcut: () => (element.scrollTop = 0) },
{ shortcut: { key: 'PageDown' }, onShortcut: () => (element.scrollTop = viewport.height) },
{ shortcut: { key: 'PageDown' }, onShortcut: () => (element.scrollTop = element.scrollHeight) },
];
if ($isMultiSelectState) {
Expand Down

0 comments on commit 8fdcaba

Please sign in to comment.