virtua icon indicating copy to clipboard operation
virtua copied to clipboard

rendering issue solidjs with shift = true

Open thdxr opened this issue 1 year ago • 4 comments

i am using virtua with solidjs and have a list that only gets appended to at the top

shift = true perfectly maintains scroll position as expected. but when i then scroll up to where the new items were added they are empty. scrolling back down a bunch then back up makes them show up

i'm not sure if this is solely a solidjs thing

thdxr avatar Jan 21 '25 01:01 thdxr

We fixed a reactivity issue in 0.38.5 (#552 #557). If it doesn't solve the problem, probably it is a problem only with Solid adapter.

inokawa avatar Jan 21 '25 08:01 inokawa

i did update to 0.39.3 and still saw it - let me try and recreate it again to make sure and post a video

thdxr avatar Jan 21 '25 17:01 thdxr

I encountered the issue in a Vue app. My demo: https://stackblitz.com/edit/vitejs-vite-ay98f7wf

alexeyvokin avatar Mar 07 '25 04:03 alexeyvokin

I encountered the issue in a Vue app. My demo: https://stackblitz.com/edit/vitejs-vite-ay98f7wf

Fixed this by adding a key attribute with a unique value

alexeyvokin avatar Mar 07 '25 06:03 alexeyvokin

Some issues with Solid adapter have been resolved in 0.41.0.

inokawa avatar May 03 '25 12:05 inokawa