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

bug: when a document fragment is passed as toNode only the first child is used #255

Open
mihaiav opened this issue Apr 30, 2024 · 0 comments

Comments

@mihaiav
Copy link

mihaiav commented Apr 30, 2024

If toNode is a document fragment with multiple children and fromNode is an Element, only the firstChild of toNode is patched into fromNode.
The siblings of the firstChild fromtoNode are ignored.
This is a bug

@mihaiav mihaiav changed the title when a document fragment is passed as toNode only the first child is considered bug: when a document fragment is passed as toNode only the first child is considered Apr 30, 2024
@mihaiav mihaiav changed the title bug: when a document fragment is passed as toNode only the first child is considered bug: when a document fragment is passed as toNode only the first child is used Apr 30, 2024
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

No branches or pull requests

1 participant