Skip to content

fix(ui5-dynamic-page): handle header-snapped attribute initialization#13030

Open
kgogov wants to merge 1 commit intomainfrom
dynamic-page-header-snapped-fix
Open

fix(ui5-dynamic-page): handle header-snapped attribute initialization#13030
kgogov wants to merge 1 commit intomainfrom
dynamic-page-header-snapped-fix

Conversation

@kgogov
Copy link
Contributor

@kgogov kgogov commented Feb 5, 2026

The headerSnapped setter was called before scrollContainer was available, causing a null reference error. Now it defers DOM manipulation until the component is rendered.

Fixes #13011

@kgogov kgogov requested a review from plamenivanov91 February 5, 2026 12:28
@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Feb 5, 2026

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 5, 2026 12:33 Inactive
The headerSnapped setter was called before scrollContainer was available,
causing a null reference error. Now it defers DOM manipulation until the
component is rendered.

Fixes #13011
@kgogov kgogov force-pushed the dynamic-page-header-snapped-fix branch from 47ca532 to 6c133e1 Compare February 5, 2026 16:22
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 5, 2026 16:29 Inactive
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.

[ui5-dynamic-page]: Setting snapped-header doesn't work and causes error in console

2 participants