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(data-table): normalize z-index #1304

Merged
merged 1 commit into from
Mar 27, 2020
Merged

fix(data-table): normalize z-index #1304

merged 1 commit into from
Mar 27, 2020

Conversation

jonnybel
Copy link
Contributor

@jonnybel jonnybel commented Mar 27, 2020

Summary

DataTable: Because the header cells have a z-index higher than the default, other elements that appear above the table might be painted below the header cells.

This PR fixes the problem by giving bringing the table element, parent of the header cells, back to z-index of 0, making the table and all the child elements relative to it respect the normal hierarchy.

@vercel
Copy link

vercel bot commented Mar 27, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/commercetools/ui-kit/cujas2r54
✅ Preview: https://ui-kit-git-fix-table-zindex.commercetools.now.sh

@jonnybel jonnybel self-assigned this Mar 27, 2020
@jonnybel jonnybel added the 🐛 Type: Bug Something isn't working label Mar 27, 2020
@jonnybel jonnybel changed the title fix(table): normalize z-index fix(data-table): normalize z-index Mar 27, 2020
Copy link
Contributor

@tdeekens tdeekens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: I'll look away 😄. We need a z-index manager for this :)

@kodiakhq kodiakhq bot merged commit efafc05 into master Mar 27, 2020
@kodiakhq kodiakhq bot deleted the fix-table-zindex branch March 27, 2020 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants