Corrected value for scrollTo behaviour parameter (#18)
This commit is contained in:
committed by
yz-yu
parent
817d191560
commit
8ee8bc24d5
@@ -470,7 +470,7 @@ export class Replayer {
|
|||||||
this.iframe.contentWindow!.scrollTo({
|
this.iframe.contentWindow!.scrollTo({
|
||||||
top: d.y,
|
top: d.y,
|
||||||
left: d.x,
|
left: d.x,
|
||||||
behavior: isSync ? 'instant' : 'smooth',
|
behavior: isSync ? 'auto' : 'smooth',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user