[6.x] Handle many tabs for both the blueprint and entry view#14073
Merged
jackmcdade merged 16 commits into6.xfrom Feb 26, 2026
Merged
[6.x] Handle many tabs for both the blueprint and entry view#14073jackmcdade merged 16 commits into6.xfrom
jackmcdade merged 16 commits into6.xfrom
Conversation
…runcate with “...” at that max width.
…“...” at that max width.
… you can tab to the overflow menu and the focus outline won't be clipped. overflow-clip-margin: 1px; won't work here for some reason but 1px of end padding is not visually noticeable.
…ould be clipped on the left
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 of the Problem
This issue is also detailed in #14062
For both the blueprint and publish views, if you add either many tabs, or tabs with long names, it can cause issues, like this:
Text stacks up vertically
You get horizontal overflow on mobile
What this PR Does
Constrained width — Tab rows no longer grow past the viewport; it clips with a max width.
Overflow dropdown — When tabs don’t fit, a button appears and lists overflowed tabs so you can switch from the dropdown.
ResizeObserveris used for overflow detectionAdds a bit of logic to extend the text to span the dropdown grid column row if there's no icon, as we have with these overflow menus—otherwise, there is a blank space where the icon usually sits.
Truncated labels — Tab and dropdown labels are truncated so long names don’t break the layout.
Closes UI: Handle many tabs again #14062
Here are some examples of an egregious amount of tabs / long tab names with the new PR
Long tab name truncated, and many tabs trigger an overflow menu

Here is the overflow menu

and here it is at a narrow viewport

How to Reproduce