-
Notifications
You must be signed in to change notification settings - Fork 106
feat: pfe-tabs horizontal overflow scrolling #1698
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
Conversation
|
✔️ Deploy Preview for patternfly-elements ready! 🔨 Explore the source changes: 2af3c5d 🔍 Inspect the deploy log: https://app.netlify.com/sites/patternfly-elements/deploys/61f9ac745f4a9200081bc821 😎 Browse the preview: https://deploy-preview-1698--patternfly-elements.netlify.app |
|
Need to add the ability to scroll the active tab into view on page load if a selected-index is provided. |
|
|
@kylebuch8 is this still relevant to pfe 2? |
|
PFv4 has this feature, so we should implement it as part of tabs 1:1 |
|
Superseded by pfe-tabs 1:1 #2099 which includes horizontal overflow scrolling |
Closes #1013
Description
Adds horizontal scrolling capabilities to horizontal tabs. This feature adds a left arrow and a right arrow when the tabs are too large for its container. This feature uses a ResizeObserver to respond to changes in the size of the component and will add the scrolling capability once the tabs are too large. This change also impacts
pfe-content-setin that when the component renders tabs, they will have the scrolling feature if the tabs are too large.Related issues
#1013
Preview
Testing instructions
Browser requirements
Your component should work in all of the following environments:
Ready-for-merge Checklist
Merging
Please squash when merging and ensure your commit message uses conventional commit formatting.
Be sure to share your updates with the [email protected] mailing list!