Skip to content

How to avoid afterimage when expanding/collapsing items at the same time #454

Answered by piecyk
XSAM asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it could happen, as update the position of virtual item happens after the size change. One solution could be to move the whole items as one block, something like https://codesandbox.io/s/xenodochial-flower-kg35e0?file=/src/main.tsx

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@XSAM
Comment options

Answer selected by XSAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants