When rendering a React component within an array using CSS transitions, I noticed that the elements in the array re-order and change style. Surprisingly, only the elements moving up have transitions applied, while the ones moving down do not. I expect all elements that undergo styling changes after rendering to retain their transitions.
If you'd like to take a look at the issue, here is the CodeSandbox link: https://codesandbox.io/s/youthful-fire-9zrc4
Any help would be greatly appreciated. Thank you in advance!