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: change parent elm, if fragment #1009

Closed
wants to merge 1 commit into from
Closed

fix: change parent elm, if fragment #1009

wants to merge 1 commit into from

Conversation

cqh963852
Copy link

Select parent from fragment's children[0]'s parentNode.

Because fragmentDocument's parent always null.

@cqh963852
Copy link
Author

relate to #1007

@cqh963852
Copy link
Author

The logic of isDocumentFragment seems not right. So I just use elm?.nodeType determine whether it is fragment

image

This pull request was closed.
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

1 participant