T
TanStack3y ago
foreign-sapphire

auto measure of item after item above it removed

I think I found a bug.. here is a sandbox - https://codesandbox.io/p/sandbox/virtual-dynamic-bug-9pqyib?file=%2Fsrc%2Fitem.tsx if you click on "remove item at index 1" and then on "resize item on index 1" you'll see that the items aren't pushed. the measurements of this item aren't updated (just resize works great, or resize after remove of a different item)
virtual dynamic bug
CodeSandbox is an online editor tailored for web applications.
6 Replies
exotic-emerald
exotic-emerald3y ago
Yeah, looks like a bug 👍 thanks @alissa should be fixed in latest beta
foreign-sapphire
foreign-sapphireOP3y ago
cool, I'll check it still reproduces in the sandbox
exotic-emerald
exotic-emerald3y ago
i think something is off with codesandbox, looks didn't pull new changes
foreign-sapphire
foreign-sapphireOP3y ago
I'll try in a real project a bit later
exotic-emerald
exotic-emerald3y ago
looks like a bug in sandbox, after restart it fetched correct version https://codesandbox.io/p/sandbox/virtual-dynamic-bug-forked-3nxmyy
virtual dynamic bug (forked)
CodeSandbox is an online editor tailored for web applications.
No description
foreign-sapphire
foreign-sapphireOP3y ago
cool 🙂

Did you find this page helpful?