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
I'm trying to setup a pretty simple examples to mess around with react-track, but I'm unable to get any value update for posTopTop. I've tried many different simple combinations, it never worked.
For instance, I have two div with height: 100vh;, stacked one over the other:
When I console.log the posTopTopprops in Page1 and Page2 render(), I get the correct initial value when mounting, but if I scroll, this value doesn't change (the component gets new props and the console.log is executed, but the value stays the same).
Any idea about what's going on? Thanks...
The text was updated successfully, but these errors were encountered:
I'm trying to setup a pretty simple examples to mess around with
react-track
, but I'm unable to get any value update for posTopTop. I've tried many different simple combinations, it never worked.For instance, I have two
div
withheight: 100vh;
, stacked one over the other:When I console.log the
posTopTop
props in Page1 and Page2render()
, I get the correct initial value when mounting, but if I scroll, this value doesn't change (the component gets new props and the console.log is executed, but the value stays the same).Any idea about what's going on? Thanks...
The text was updated successfully, but these errors were encountered: