Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
thetaPC
force-pushed
the
playground-file-tabs
branch
from
November 25, 2026 01:33
526f523 to
420418e
Compare
thetaPC
marked this pull request as ready for review
November 25, 2026 23:12
thetaPC
commented
Nov 26, 2026
| return ( | ||
| <PlaygroundTabs groupId={usageTarget} className="playground__tabs"> | ||
| // Each framework has its own files, so remounting on a switch selects its first file. | ||
| <Tabs key={usageTarget} className="playground__tabs"> |
Contributor
Author
There was a problem hiding this comment.
Switching to Docusaurus Tabs drops the scroll arrows, so overflowing file tabs now only scroll natively: a trackpad swipe, Shift and the mouse wheel, or arrow keys once a tab is focused. A mouse user without a horizontal wheel has no visible cue that more tabs are hidden. Should we add the arrows back, or is native scrolling enough? It only matters for playgrounds with many files, such as Angular examples on a narrow window.
This branch was successfully deployed
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.
Stacked on #4899.
The file tabs look the same, but the scroll arrows are gone: the tab bar now scrolls natively. That is the main thing to review, to decide whether we still want the arrows.
TabsandTabItem, and the customPlaygroundTabscopied from pre-v3 Docusaurus is deleted. This drops the last use of the internaluseScrollPositionBlocker.data-file-typeattribute.Behavior changes, both standard Docusaurus Tabs behavior:
How to test
In light and dark mode, compared with the live site: