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
For some reason, importing animated from react-spring/web and react-spring/three in the same project seems to break the animated component.
Link to repro
The following sandbox should make the content move when scrolling, which doesn't happen when line 3 of the sandbox is uncommented.
import{animated}from'react-spring/three'
When looking at the style of the main element in the inspector it shows like the style property is reset to "" as soon as the user starts scrolling (ie modifying the spring).
Commenting / uncommenting line 3 activates / removes the bug.
dbismut
changed the title
Canary 808.14 - importing animated from both /three and /web breaks shorthand style properties
Canary 808.14 - importing animated from both /three and /web breaks
Feb 19, 2020
🐛 Bug Report
For some reason, importing
animated
fromreact-spring/web
andreact-spring/three
in the same project seems to break theanimated
component.Link to repro
The following sandbox should make the content move when scrolling, which doesn't happen when line 3 of the sandbox is uncommented.
When looking at the style of the
main
element in the inspector it shows like the style property is reset to""
as soon as the user starts scrolling (ie modifying the spring).Commenting / uncommenting line 3 activates / removes the bug.
https://codesandbox.io/s/polished-violet-0yzsm
Environment
react-spring
v9 Canary 808.17react
v16.12.xThe text was updated successfully, but these errors were encountered: