fix(app): timeline jank
This commit is contained in:
parent
18850c4f91
commit
5e8742f431
4 changed files with 114 additions and 69 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue