Skip to content

fix(DataTable): fix stacking issues with table toolbar + batch actions#14275

Merged
tay1orjones merged 1 commit into
carbon-design-system:mainfrom
tw15egan:table-z-index-fix
Jul 24, 2023
Merged

fix(DataTable): fix stacking issues with table toolbar + batch actions#14275
tay1orjones merged 1 commit into
carbon-design-system:mainfrom
tw15egan:table-z-index-fix

Conversation

@tw15egan

Copy link
Copy Markdown
Contributor

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

netlify Bot commented Jul 20, 2023

Copy link
Copy Markdown

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

netlify Bot commented Jul 20, 2023

Copy link
Copy Markdown

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.

@alisonjoseph alisonjoseph left a comment

Copy link
Copy Markdown
Contributor

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

tw15egan commented Jul 21, 2023

Copy link
Copy Markdown
Contributor Author

@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

@thyhmdo thyhmdo left a comment

Copy link
Copy Markdown
Collaborator

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