githubocto / flat-ui

MIT License
370 stars 23 forks source link

Sticky column cells not aligned with other columns #20

Closed paulshen closed 2 years ago

paulshen commented 2 years ago

I encountered a few issues that I wanted to share in case useful. I'm currently only playing with the library so not necessary to fix!

In the sandbox, https://codesandbox.io/s/dazzling-cray-bjmjs, hovering the sticky column seems to highlight a different row in the rest of the table.

image

Switching between pinning the first and second column seems to shuffle the contents of the first two column. This might be related to previous item.

I tried using the component inside another tailwind project nested inside a div that also has a group class name which causes hover elements to show up too aggressively. Could call this a usage issue :)

image

Wattenberger commented 2 years ago

All super helpful feedback, thanks Paul!