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: check if node is an element when removing slot attribute #8533

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

web-padawan
Copy link
Member

Description

Fixes #8531

Added missing check for nodeType in MutationObserver to ignore disconnected comment nodes inserted by Lit.

Type of change

  • Bugfix

@web-padawan web-padawan merged commit 7181a54 into main Jan 20, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/split-layout-lit-comment branch January 20, 2025 12:08
web-padawan added a commit that referenced this pull request Jan 20, 2025
web-padawan added a commit that referenced this pull request Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

split-layout not robust when they contain comments (which happens with lit templates)
4 participants