Skip to content

Conversation

@nnaydenow
Copy link
Contributor

@nnaydenow nnaydenow commented Feb 25, 2025

Previously, _updateSlots was called twice — once by a DOM observer monitoring the custom element’s DOM node and once by the slot change event triggered inside shadowRoot.

This update enhances the DOM observer to also monitor the slot attribute of each child within the custom element’s DOM node, eliminating the need for an event listener inside shadowRoot.

Fixes: #10377

@DonkeyCo
Copy link
Contributor

@nnaydenow it seems like TableGrowing.cy is among the tests that are failing for your PR. I've created another PR that solves the issue, you can review it here: #10952

@github-actions github-actions bot added the Stale label Mar 20, 2025
@github-actions github-actions bot closed this Mar 27, 2025
@nnaydenow nnaydenow deleted the invalidation-fix branch December 11, 2025 14:01
@nnaydenow nnaydenow restored the invalidation-fix branch January 28, 2026 15:27
@nnaydenow nnaydenow reopened this Jan 28, 2026
@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Jan 28, 2026

🧹 Preview deployment cleaned up: https://pr-10949--ui5-webcomponents.netlify.app

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.

[UI5Element]: unnecessary invalidation for unchanged slots

4 participants