T
TanStack3y ago
equal-jade

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
sunny-green
sunny-green3y ago
Yeah, looks like a bug 👍 thanks @alissa should be fixed in latest beta
equal-jade
equal-jadeOP3y ago
cool, I'll check it still reproduces in the sandbox
sunny-green
sunny-green3y ago
i think something is off with codesandbox, looks didn't pull new changes
equal-jade
equal-jadeOP3y ago
I'll try in a real project a bit later
sunny-green
sunny-green3y 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
equal-jade
equal-jadeOP3y ago
cool 🙂

Did you find this page helpful?