Corrected value for scrollTo behaviour parameter (#18)

This commit is contained in:
Daniël van de Giessen
2026-04-01 12:00:00 +08:00
committed by yz-yu
parent 817d191560
commit 8ee8bc24d5

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 {