Repository navigation
fix(tabs): keep nested tab orientations independent - #5353
Merged
Vincent Baaij (vnbaaij) merged 3 commits intoSep 28, 2026
Merged
Vincent Baaij (vnbaaij) merged 3 commits into
Vincent Baaij (vnbaaij) merged 3 commits into
Conversation
RKS (rksharma-owg)
requested review from
Denis Voituron (dvoituron) and
Vincent Baaij (vnbaaij)
as code owners
September 27, 2026 03:25
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified, and all reviewers assessed it as ready.
Review effort: Lite
Findings: None
What changed in this PR
Fixes nested FluentTabs orientation interference by scoping vertical layout detection to each tab group’s own header.
Changes:
- Restricts vertical
:has()selectors to owning tab headers. - Adds eight Chromium integration cases covering orientations and overflow.
| File | Description |
|---|---|
tests/Integration/Components/Tabs/FluentTabsTests.cs |
Adds eight orientation and overflow scenarios. |
tests/Integration/Components/Tabs/Examples/NestedTabsPage.razor |
Adds a nested-tabs test page. |
src/Core/Components/Tabs/FluentTabs.razor.css |
Scopes orientation layout selectors to the owning tab group. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Marvin Klein (MarvinKlein1508)
suggested changes
Sep 28, 2026
Vincent Baaij (vnbaaij)
requested changes
Sep 28, 2026
Collaborator
There was a problem hiding this comment.
See Marvin Klein (@MarvinKlein1508) 's feedback: No page link and no stylesheet link in the example and the example needs to be linked from the FluentTabs.md doc page
As mentioned, it is an integration test, not an example
Vincent Baaij (vnbaaij)
enabled auto-merge (squash)
September 28, 2026 09:47
Denis Voituron (dvoituron)
approved these changes
Sep 28, 2026
Vincent Baaij (vnbaaij)
approved these changes
Sep 28, 2026
This was referenced Oct 14, 2026
Closed
Closed
Merged
This was referenced Oct 19, 2026
Closed
Closed
This was referenced Oct 28, 2026
Merged
Closed
This was referenced Nov 9, 2026
This was referenced Nov 19, 2026
Merged
Closed
This was referenced Nov 27, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📖 Description
A horizontal tab group switches to a flex layout when it contains a nested vertical tab group. The vertical-layout
:has()selector matches tablists at any descendant depth.Limit the selector to the owning header: either a direct tablist or a tablist inside the direct overflow-header wrapper.
🎫 Issues
Fixes #5341.
👩💻 Reviewer Notes
The selector covers both header structures used by
FluentTabs. There are no component API changes.📑 Test Plan
a1ff4a940b839c958c5754eceb0ff42a7df9c771, including Release builds, Core/Charts/MCP tests, CodeQL and 98.4% line coverage against the 98% requirement.Upstream currently disables integration tests in its workflow. The separate browser run invokes the existing integration project through
dotnet vstest, with an external server-readiness/cleanup wrapper kept out of this PR.✅ Checklist
General
Component-specific