Skip to content
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

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

tw15egan
Copy link
Collaborator

Closes #14137

Adds some z-index values so that the batch actions and toolbars render over table content. Also tweaked the clip-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 added opacity transition to make this less noticeable.

Changelog

New

  • z-index added to batch action bar, table toolbar

Changed

  • tweaked clip-path to allow longer tooltips in batch action bar

Testing / 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

@tw15egan tw15egan requested a review from a team as a code owner July 20, 2023 17:40
@netlify
Copy link

netlify bot commented Jul 20, 2023

Deploy Preview for carbon-components-react ready!

Name Link
🔨 Latest commit 5f82f6e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/64b9717470e1ee00081aef70
😎 Deploy Preview https://deploy-preview-14275--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Jul 20, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 5f82f6e
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/64b97174e33ee7000798fd0d
😎 Deploy Preview https://deploy-preview-14275--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@alisonjoseph alisonjoseph left a 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.

@alisonjoseph alisonjoseph requested review from a team and thyhmdo and removed request for a team July 21, 2023 12:21
@tw15egan
Copy link
Collaborator Author

tw15egan commented Jul 21, 2023

@thyhmdo For comparison @ 10% speed --

Old animation:
2023-07-21 08 54 34

New animation:
2023-07-21 08 53 50

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

Copy link
Member

@thyhmdo thyhmdo left a 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

@tay1orjones tay1orjones added this pull request to the merge queue Jul 24, 2023
Merged via the queue into carbon-design-system:main with commit a157f0a Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: tooltips render under icons
4 participants