libp2p / observer-toolkit

🐣 [WIP] toolkit for building libp2p introspection widgets + a few useful out-of-the-box widgets
https://libp2p.io
MIT License
2 stars 2 forks source link

Stop z-index failing because element has transform #70

Closed AlanSl closed 4 years ago

AlanSl commented 4 years ago

This fixes a bug that resulted as a side effect of improving the sliding rows animations by applying transforms directly to the table rows: having a transform CSS style applied makes an element behave as if it has a z-index stacking context (even if it's something like a table row that can't have a z-index), which caused the rows below to overlap popups, but only if they had already animated:

image

This fixes that by removing the transform instead of setting it to 0.