improve mouse record and replay (#49)
Increase the throttle value of collecting mouse move and add a transition time to the replayer's mouse. This may decrease the size of mouse move data and make the replay movement more smooth. Another change is to move and hover when click event is replayed. This is to improve the replay of some programmatic click, such as E2E tests.
This commit is contained in:
@@ -248,7 +248,7 @@ function initMousemoveObserver(cb: mousemoveCallBack): listenerHandler {
|
||||
});
|
||||
wrappedCb();
|
||||
},
|
||||
20,
|
||||
50,
|
||||
{
|
||||
trailing: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user