Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Trigger mouse movement & hover with mouse up/down in sync mode #1191

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

Juice10
Copy link
Contributor

@Juice10 Juice10 commented Mar 28, 2023

Trigger mouse movement and hover with mouse up and mouse down events when replayer.pause(...) is called.

Currently mouseUp/mouseDown wasn't triggering any mouse movement or hover in isSync (pause/seek) mode.

@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2023

🦋 Changeset detected

Latest commit: b65163a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
rrweb Patch
rrweb-snapshot Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch

Not sure what this means? Click here to learn what changesets are.

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

@Juice10 Juice10 changed the title Trigger mouse movement & hover with mouse up/down in sync mode Fix: Trigger mouse movement & hover with mouse up/down in sync mode Mar 28, 2023
@eoghanmurray
Copy link
Contributor

What if replayer is scrubbing/skipping over the hover/unhover — will many events get dispatched?

@Juice10
Copy link
Contributor Author

Juice10 commented Mar 28, 2023

What if replayer is scrubbing/skipping over the hover/unhover — will many events get dispatched?

Only one hover event will be applied on Flush once all events have been applied

@eoghanmurray eoghanmurray self-requested a review March 28, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants