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

Cleanup zIndex logic #1393

Merged
merged 4 commits into from
Nov 26, 2018
Merged

Cleanup zIndex logic #1393

merged 4 commits into from
Nov 26, 2018

Conversation

amanmahajan7
Copy link
Contributor

@amanmahajan7 amanmahajan7 commented Nov 21, 2018

  • Removed unnecessary high values of zIndexes
  • Fix EditorContainer zIndex as is rendered outside the grid

https://www.useloom.com/share/c2a82eb341dc4a639c72f679d681cc52

@amanmahajan7 amanmahajan7 merged commit b4d9f7c into master Nov 26, 2018
@amanmahajan7 amanmahajan7 deleted the am-cleanup-frozen-columns branch November 26, 2018 14:35
rossjp pushed a commit to rossjp/react-data-grid that referenced this pull request Dec 14, 2018
* Refactor zIndex logic

* Fix unit tests

* Fix frozen cells filtering
@wennyben
Copy link

Many admin-panel theme already have it's z-index hierarchy, mostly from 1 to 10. This low zIndex logic may failed once we are using react-data-grid inside it.
When I was clicking the cell, the editor will not be rendered correctly.

I was using .css to override it (e.g. .rdg-editor-container { z-index: 5 !important;} ) but this is not a good solution.

can we add an offset, e.g. 10 to avoid this conflict ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants