Skip to content

Commit fd189ca

Browse files
authored
Merge pull request Sofie-Automation#1438 from tv2norge-collab/contribute/EAV-555
2 parents a8098a3 + 02b3559 commit fd189ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webui/src/client/ui/Prompter/PrompterView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export class PrompterViewContent extends React.Component<Translated<IProps & ITr
367367
this._lastAnimation = animate(window.scrollY, scrollToPosition, {
368368
duration: 0.4,
369369
ease: 'easeOut',
370-
onUpdate: (latest) => window.scrollTo(0, latest),
370+
onUpdate: (latest) => window.scrollTo({ left: 0, top: latest, behavior: 'instant' }),
371371
})
372372
}
373373
listAnchorPositions(startY: number, endY: number, sortDirection = 1): [number, Element][] {

0 commit comments

Comments
 (0)