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
Hello, if the dynamic value of playScale property is used in a timeline with the Parallax component when I change the playScale values after the first render (e.g. because of the window resize), it crashes.
Without dynamic values the timeline works fine. Try to put dynamic playScale not on the 0 index of animation, but farther.
<ScrollParallaxanimation={[{opacity: 1,playScale: [1,1+contentViewportHeight]// this is fine, contentViewportHeight value is around 0.5 in my test},{opacity: 0,playScale: [1-contentViewportHeight,1],// because of this value is changing, it crashesonStart: ()=>this._updateState({imageIndex: 1}),onCompleteBack: ()=>this._updateState({imageIndex: 0})}]}component={StyledOverlay}style={{opacity: 0}}/>
The text was updated successfully, but these errors were encountered:
Hello, if the dynamic value of playScale property is used in a timeline with the Parallax component when I change the playScale values after the first render (e.g. because of the window resize), it crashes.
Without dynamic values the timeline works fine. Try to put dynamic playScale not on the 0 index of animation, but farther.
The text was updated successfully, but these errors were encountered: