fix(app): timeline jank

This commit is contained in:
Adam 2026-03-02 18:23:59 -06:00
commit 5e8742f431
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
4 changed files with 114 additions and 69 deletions

View file

@ -142,7 +142,10 @@ export function createAutoScroll(options: AutoScrollOptions) {
const handleInteraction = () => {
if (!active()) return
stop()
const selection = window.getSelection()
if (selection && selection.toString().length > 0) {
stop()
}
}
const updateOverflowAnchor = (el: HTMLElement) => {