-
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): fix stacking issues with table toolbar + batch actions #14275
fix(DataTable): fix stacking issues with table toolbar + batch actions #14275
Conversation
✅ Deploy Preview for carbon-components-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
LGTM! Tagging design for a review because the slight animation change, I compared it with the live storybook and it seems good.
@thyhmdo For comparison @ 10% speed -- It slides a little bit further down but allows longer tooltips in the batch action toolbar. Added an opacity transition so it is less noticeable |
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.
@tw15egan I couldn't tell from interacting with it, thanks for the videos! I like this fix
Closes #14137
Adds some
z-index
values so that the batch actions and toolbars render over table content. Also tweaked theclip-path
a bit so that longer tooltips can be rendered. This very slightly adjusts how much the toolbar slides down when fading in/out, but seems like a good compromise. Also addedopacity
transition to make this less noticeable.Changelog
New
z-index
added to batch action bar, table toolbarChanged
clip-path
to allow longer tooltips in batch action barTesting / Reviewing
Go to the batch actions story, and add a much longer string for the tooltips that appear. Ensure the animations look correct and there are no regressions