rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

fix: solve the smooth scrolling scene, the y value obtained is the data 100ms ago

Open xujiujiu opened this issue 1 year ago • 4 comments

In the smooth scrolling scene on the mobile phone, the y value obtained by the monitored scroll event is too small, causing the bottom content to be invisible during playback.

xujiujiu avatar Apr 07 '24 02:04 xujiujiu

⚠️ No Changeset found

Latest commit: c04104dadb0911c1bf99a844d242839a71a25c97

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Apr 07 '24 02:04 changeset-bot[bot]

When listening to the scroll event, the x and y data of the node cannot be obtained because the target cannot be obtained through throttle

xujiujiu avatar Apr 07 '24 08:04 xujiujiu

image

xujiujiu avatar Apr 07 '24 08:04 xujiujiu

image there target is undefined

xujiujiu avatar Apr 07 '24 08:04 xujiujiu