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
Current behavior
The ref function given to the child component is called with both the child component refence and the CSSTransitionGroupChild component.
Expected behavior
The ref function should on be called with the child component.
I'm sorry it took months to get round to this. I've published 4.0.2-beta.0 with a fix. Would you be able to confirm that everything now works as expected? I don't have a real use case for it so it's hard to be definitive in saying that it works.
Current behavior
The ref function given to the child component is called with both the child component refence and the CSSTransitionGroupChild component.
Expected behavior
The ref function should on be called with the child component.
Steps to reproduce
See the example and console output on https://codesandbox.io/s/5v2nm9zo0l?expanddevtools=1
References
Related issue in
react-transition-group
can be found at reactjs/react-transition-group#29 (merged fix in reactjs/react-transition-group#39)The text was updated successfully, but these errors were encountered: