Corrected value for scrollTo behaviour parameter (#18)

This commit is contained in:
Daniël van de Giessen
2018-12-29 04:19:36 +01:00
committed by yz-yu
parent 1ef16d2a54
commit e6ad2bc1d3

View File

@@ -470,7 +470,7 @@ export class Replayer {
this.iframe.contentWindow!.scrollTo({
top: d.y,
left: d.x,
behavior: isSync ? 'instant' : 'smooth',
behavior: isSync ? 'auto' : 'smooth',
});
} else {
try {