-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
🐛 Bug Report
This sandbox should animate changed item heights every 2 seconds but it doesn't. A working fix is provided below.
To Reproduce
Check out sandbox, see how items stay static
Expected behavior
In the same sandbox, rename the useSprings
hook call inside DraggableList
to useSpringsFixed
which is already imported.
--> Items now correctly change position every 2s.
The fix is based on a suggestion by @drcmda but my understanding is that v9
should correctly animate this without further code.
Link to repro (highly encouraged)
Sandbox above
Environment
react-spring
v9.0.0-beta.23
jhclaura
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working