Skip to content

fix: include controls without data-sap-ui attribute in control tree#344

Open
NakataCode wants to merge 1 commit into
masterfrom
html-control-tree
Open

fix: include controls without data-sap-ui attribute in control tree#344
NakataCode wants to merge 1 commit into
masterfrom
html-control-tree

Conversation

@NakataCode
Copy link
Copy Markdown
Contributor

Problem:

  • sap.ui.core.HTML and similar controls that render raw HTML were invisible in the control tree because the tree walker only detected controls via the data-sap-ui DOM attribute, causing their children to appear flattened at the wrong level.

Solution:

  • Added a fallback branch that matches registered UI5 Controls by cross-referencing their element registry ID with getDomRef(), correctly preserving parent-child hierarchy.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented May 8, 2026

CLA assistant check
All committers have signed the CLA.

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.

1 participant