diff options
Diffstat (limited to 'frontend-vanilla/src')
| -rw-r--r-- | frontend-vanilla/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend-vanilla/src/main.ts b/frontend-vanilla/src/main.ts index 901e316..abe454a 100644 --- a/frontend-vanilla/src/main.ts +++ b/frontend-vanilla/src/main.ts @@ -861,7 +861,7 @@ function navigateItems(direction: number) { }); const el = document.querySelector(`.feed-item[data-id="${activeItemId}"]`); - if (el) el.scrollIntoView({ block: 'start', behavior: 'smooth' }); + if (el) el.scrollIntoView({ block: 'start', behavior: 'instant' }); if (!store.items[nextIndex].read) updateItem(activeItemId, { read: true }); } |
