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: The needsMask check should also be ignored when the childNode array length is equal to 0 #1402

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Paulhejia
Copy link

When checking needsMask, it is not rigorous to determine whether n.childNode exists, but also to determine whether the array length is greater than 0

…ray length is 0

When checking needsMask, the n.hildnode is not rigorous and the array length is greater than 0, thus ignoring the leaf component
Copy link

changeset-bot bot commented Jan 24, 2024

🦋 Changeset detected

Latest commit: 1204d10

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

This PR includes changesets to release 8 packages
Name Type
rrweb-snapshot Patch
rrweb Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch
rrvideo 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
Copy link
Contributor

Juice10 commented Feb 5, 2024

@Paulhejia looks like this breaks in certain cases (see failing tests), could you fix them?

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.

None yet

2 participants