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 have a weird problem. I spent a day on it. I think it is an error in version 8.0.27
I created a relatively simple example from my production code. I created a table where I can delete columns. I use grid layout, so the order of the columns based on the map index of the transition.
If I click on the first column (0) it supposed to fade away and deleted. Now it changes position with the second column and fade there.
if I clone data.columns in useTransition (it is a variation of 2. case)
I'm a little clueless how can I fix the production code. Cloning is a little hard to comprehend in a complex object. Can I switch to beta code and which version? I use react-spring extensively. I have to re-test everything. Is there a chance to fix this problem in version 8?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a weird problem. I spent a day on it. I think it is an error in version 8.0.27
I created a relatively simple example from my production code. I created a table where I can delete columns. I use grid layout, so the order of the columns based on the map index of the transition.
If I click on the first column (0) it supposed to fade away and deleted. Now it changes position with the second column and fade there.
https://codesandbox.io/s/magical-spence-pj6fw?file=/src/App.js
Now I can fix the example a couple of ways:
I'm a little clueless how can I fix the production code. Cloning is a little hard to comprehend in a complex object. Can I switch to beta code and which version? I use react-spring extensively. I have to re-test everything. Is there a chance to fix this problem in version 8?
Beta Was this translation helpful? Give feedback.
All reactions