React-spring: [9.0.0-rc.3] Render messes up the spring

Created on 18 Oct 2020  路  1Comment  路  Source: pmndrs/react-spring

馃悰 Bug Report

In the repro below, using 9.0.0-rc2 shows the correct behavior:

ezgif com-optimize (1)

Using 9.0.0-rc3 shows a glitch and a jump in the spring value:

ezgif com-optimize

This is probably generated by the re-render triggered in the lines highlighted in the repo link below.

Link to repro

https://codesandbox.io/s/admiring-lovelace-7me50?file=/src/index.js:362-374

Environment

  • react-spring v9.0.0-rc.3
  • react v16.14.0
bug fix ready v9

Most helpful comment

Just checked. This is already fixed in v9 branch 馃憤

>All comments

Just checked. This is already fixed in v9 branch 馃憤

Was this page helpful?
0 / 5 - 0 ratings