fix(web): page down shortcut (#9397)

fix: page down shortcut
This commit is contained in:
martin
2024-05-11 23:49:39 +02:00
committed by GitHub
parent 55a7e54011
commit 8fdcabaf70

View File

@@ -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) {