We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
addEndListener on Transition has two arguments, node and done. node is a function and done is undefined.
addEndListener
Transition
node
done
node should be the nodeRef and done should be a function
Look at this line: https://github.com/reactjs/react-transition-group/blame/2989b5b87b4b4d1001f21c8efa503049ffb4fe8d/src/Transition.js#L350
if this.props.nodeRef exists, then maybeNode becomes this.nextCallback and maybeNextCallback becomes undefined?
this.props.nodeRef
maybeNode
this.nextCallback
maybeNextCallback
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the current behavior?
addEndListener
onTransition
has two arguments,node
anddone
.node
is a function anddone
is undefined.What is the expected behavior?
node
should be the nodeRef anddone
should be a functionLook at this line:
https://github.com/reactjs/react-transition-group/blame/2989b5b87b4b4d1001f21c8efa503049ffb4fe8d/src/Transition.js#L350
if
this.props.nodeRef
exists, thenmaybeNode
becomesthis.nextCallback
andmaybeNextCallback
becomes undefined?Could you provide a CodeSandbox demo reproducing the bug?
The text was updated successfully, but these errors were encountered: