-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Tabs: tweak sizing and overflow behavior of TabList
#64371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DaniGuardiola
merged 68 commits into
trunk
from
feat/tablist-sizing-and-overflow-improvements
Sep 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
fd8ed85
Tweak sizing and overflow behavior of TabList.
DaniGuardiola 2dda47d
Add size and overflow playground story.
DaniGuardiola 9979d58
Add "scroll into view" behavior to selected tabs.
DaniGuardiola cf9e53f
fit-content only on horizontal orientation
DaniGuardiola bf14552
Reduce specificity of `fit-content` to make it easier to override.
DaniGuardiola c9777c9
centered label only when orientation is horizontal
DaniGuardiola e7bf4f0
Remove unused file.
DaniGuardiola 1e94d4d
Fix inspector controls tabs.
DaniGuardiola 1ea21e1
Fix font library modal tabs.
DaniGuardiola 93b2b7f
Fix style-book tabs.
DaniGuardiola bec645e
fix typo
DaniGuardiola 4f32384
Add changelog entry.
DaniGuardiola 6aefb85
fix emotion being weird ugh
DaniGuardiola b97b9ba
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 033e89a
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 8be066b
Prevent unwanted focusable container in Firefox.
DaniGuardiola 7ebc4a0
Add fade effect.
DaniGuardiola 4951801
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 141fedc
Fix IntersectionObserver logic.
DaniGuardiola d5cf0cc
Feature detect IntersectionObserver to prevent tests from failing.
DaniGuardiola c1095e7
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 22ca3b6
Add a bit of tolerance for scroll state detection.
DaniGuardiola 308a4bf
Fix vertical indicator.
DaniGuardiola 5967da3
Better handling of vertical overflow.
DaniGuardiola 820aede
Add a bit of scroll margin for better "scroll into view" experience.
DaniGuardiola d6e9336
Horizontal fade should only happen on horizontal direction.
DaniGuardiola 2bcb9ad
Adjust for offset parent scroll state in `getElementOffsetRect`.
DaniGuardiola 879a7e3
Better "scroll into view" positioning heuristics ("nearest").
DaniGuardiola 668120e
Invert use of before and after to remove z-index and fix related issues.
DaniGuardiola 9089219
Make vertical indicator light blue as discussed.
DaniGuardiola 1d064ae
Undo most overrides in pattern/media vertical tabs.
DaniGuardiola df99501
Clean up outdated styles previously needed for label wrapping.
DaniGuardiola b7d1f6b
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola d548201
Revert vertical indicator changes and some indicator patterns/media t…
DaniGuardiola 93d1f04
Revert vertical indicator bug fix
DaniGuardiola bfeee94
Add changelog entry
DaniGuardiola 3a1963e
Remove outdated style.
DaniGuardiola 27586e3
Address feedback
DaniGuardiola d3d1d84
Fix scroll bug
DaniGuardiola 3460653
Improve automatic tab scrolling behavior.
DaniGuardiola e6cecec
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola a88179d
Tweaks to prevent unit test failure and minor cleanup.
DaniGuardiola 7327b17
Undo unnecessary changes.
DaniGuardiola baea996
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 39d4d76
Improved story
DaniGuardiola c52c74d
Fix scroll jumping bug.
DaniGuardiola 0405ecb
Scroll to active tab instead of selected (support `selectOnMove=false`).
DaniGuardiola 60a5aca
Fix minor visual glitch with overflow fade out indicators.
DaniGuardiola c821a12
Misc tweaks
DaniGuardiola 8b031f9
Fix.
DaniGuardiola 094509c
Fix changelog
DaniGuardiola aa18660
Fix changelog but it's actually true
DaniGuardiola aefb76c
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 5313c62
Fix changelog
DaniGuardiola c1d5b9f
Make Story Book tabs nicer.
DaniGuardiola ffbbda2
Temp fix for scrollbar issue in Style Book tabs.
DaniGuardiola 6e02a23
Fix scroll bug and clean up a little.
DaniGuardiola 9aa1d71
Simplify and clean up a bit more.
DaniGuardiola e73f1d5
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola 566401e
Fix merge issues.
DaniGuardiola 83fa634
Fix merge issues again.
DaniGuardiola e80f76a
Make inserter patterns/media changes more minimal
DaniGuardiola 9b966fe
Fix outdated comment
DaniGuardiola 52102b1
Fix another typo in comment.
DaniGuardiola 1454354
Minor cleanup.
DaniGuardiola f92e5f2
Merge branch 'trunk' of https://github.com/WordPress/gutenberg into f…
DaniGuardiola a942b7b
Fix bad automatic merge.
DaniGuardiola adedb2c
ugh, fix again
DaniGuardiola File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Improve automatic tab scrolling behavior.
- Loading branch information
commit 34606536960f86cc41d5d8004161b5d4e1916ad0
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.