clauderic / react-tiny-virtual-list

A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
https://clauderic.github.io/react-tiny-virtual-list/
MIT License
2.46k stars 166 forks source link

iframe issue when sticky used #79

Open gunn-fd opened 4 years ago

gunn-fd commented 4 years ago

I added an iframe as one of the rows in the list and set it to be sticky, while the sticky works, the iframe sits on top, making its wrapper z-index: 0 instead of 1 fixed it. But when I start to fast scroll I can see the sticky container iframe showing through when its not rendering.
I also noticed if you use the lists scrollbar, I don't see any gaps/unrendered content but if i scroll fast with the trackpad, i can see lots of gaps. my row content is not complex just a few divs and text