You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
🐛 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 insideDraggableList
touseSpringsFixed
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.23The text was updated successfully, but these errors were encountered: