Skip to content

Animation of row show/hide #413

Answered by piecyk
EliteUser asked this question in Show and tell
Oct 24, 2022 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Hi, overall with animation on rows better is to wrap items with a div and position the whole range and not individual rows. Checkout this example https://codesandbox.io/s/react-virtual-tree-forked-t8f306?file=/src/App.js it's using extracted code from this PR #405 to use Resize Observer to have correct range when item height changes.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@EliteUser
Comment options

@piecyk
Comment options

piecyk Oct 25, 2022
Collaborator

Answer selected by EliteUser
Comment options

You must be logged in to vote
2 replies
@piecyk
Comment options

piecyk Nov 14, 2022
Collaborator

@EliteUser
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants