reactjs / react-transition-group

An easy way to perform animations when a React component enters or leaves the DOM
https://reactcommunity.org/react-transition-group/
Other
10.1k stars 652 forks source link

animation not worked when a Component rendered by ReactDOM.render(<Component />) #862

Open LeeRayno opened 1 year ago

LeeRayno commented 1 year ago

What is the current behavior? animation not worked when a Component rendered by ReactDOM.render() the enter animation not work, but leave animation worked

What is the expected behavior? animation It's worked when a Component rendered by ReactDOM.render()

Could you provide a CodeSandbox demo reproducing the bug? just change the offical demo code CodeSandbox demo here