Skip to content

fix(tabs): Internal DOM reference checks in observers#1705

Merged
damyanpetev merged 3 commits intomasterfrom
rkaraivanov/tabs-internal-dom-refs
May 27, 2025
Merged

fix(tabs): Internal DOM reference checks in observers#1705
damyanpetev merged 3 commits intomasterfrom
rkaraivanov/tabs-internal-dom-refs

Conversation

@rkaraivanov
Copy link
Member

Check for the existence of the tab header strip and indicator, if applicable, before trying to manipulate DOM state inside the observers callbacks.

Check for the existence of the tab header strip and
indicator, if applicable, before trying to manipulate
DOM state inside the observers callbacks.
@damyanpetev
Copy link
Member

damyanpetev commented May 27, 2025

Note: The test for #1140 actually reproduces this (mutation callback before render, thus errors for internal elements access) in FF but not in Chromium.

@damyanpetev damyanpetev merged commit 2466780 into master May 27, 2025
5 checks passed
@damyanpetev damyanpetev deleted the rkaraivanov/tabs-internal-dom-refs branch May 27, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants