Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes dont get added to child with ref. #910

Open
LMS007 opened this issue Sep 27, 2024 · 0 comments
Open

Classes dont get added to child with ref. #910

LMS007 opened this issue Sep 27, 2024 · 0 comments

Comments

@LMS007
Copy link

LMS007 commented Sep 27, 2024

Migrating from v1 to v2 and nothing is working

this.ref = React.createRef();
....

<CSSTransition nodeRef={this.ref} in={true} classNames="my-class" timeout={1000}>
     <span ref={this.ref}>Hello???</span>
 </CSSTransition>

I can see that no classes get applied to the span. Surly this basic functionality must be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant