Skip to content

Commit

Permalink
🎨 add condition and passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michellewzhang committed Jun 20, 2024
1 parent 1e42bdb commit 51ba3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rrweb/src/replay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ export class Replayer {
// prevents multiple touch circles from staying on the screen
// when the user seeks by breadcrumbs
Object.values(this.pointers).forEach((p) => {
if (p !== pointer) {
if (p !== pointer && !p.touchActive) {
p.touchActive = false;
}
});
Expand Down

0 comments on commit 51ba3f3

Please sign in to comment.