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 am trying to upgrade react and I am therefor using nodeRef now. The animation was working correctly in the old version.
I am showing a page with a question, and when the question is answered, it should make a transition to the new question by moving the current question to the left side of the screen and moving the new one in from the right side.
But it adds the new question on top of the old one, and animates that one leaving the page and does no animation to the original one
As far as I understand from the docs, I should just give it a key and a reference to the node.
I am trying to upgrade react and I am therefor using nodeRef now. The animation was working correctly in the old version.
I am showing a page with a question, and when the question is answered, it should make a transition to the new question by moving the current question to the left side of the screen and moving the new one in from the right side.
But it adds the new question on top of the old one, and animates that one leaving the page and does no animation to the original one
As far as I understand from the docs, I should just give it a key and a reference to the node.
Does anyone know of way to fix this ? Do I somehow need to pre-compute a ref for each possible question?!
The text was updated successfully, but these errors were encountered: