-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(DataTable): useStaticWidth
fix for title/description
#9632
fix(DataTable): useStaticWidth
fix for title/description
#9632
Conversation
useStaticWidth
fix for title/description
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 01017cc 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/6148f94cf99ab70008ef6b8d 😎 Browse the preview: https://deploy-preview-9632--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 01017cc 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/6148f94c593fc20008785715 😎 Browse the preview: https://deploy-preview-9632--carbon-components-react.netlify.app |
❌ Deploy Preview for carbon-elements failed. 🔨 Explore the source changes: 01017cc 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/6148f94ce96b940007d7aa11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Closes #9515
Fixes an issue that occurred when using
useStaticWidth
prop inDataTable
. This ensures that if a title/description are provided toTableContainer
, they do not expand past the width of the Table itselfChangelog
New
useStaticWidth
knob to the storybookuseStaticWidth
is now passed toTableContainer
and a class is toggled based on its presenceTesting / Reviewing
Toggle the
useStaticWidth
knob and ensure the content does not overflow past the Table width