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

isAppearing boolean is undefined when onEnter or onEntering is triggered #143

Comments

@alonbt
Copy link
Contributor

alonbt commented Aug 3, 2017

I reproduce the issue here: https://jsfiddle.net/alonbt/no8c6yyw/

I'm trying to get the isAppearing parameter. it is always 'undefined'. Is it a bug or I might be using it wrong ?

  onEnter(node, isAppearing) {
    console.log('fade onEnter! node is', node, 'but why dont i see the appearing state?', isAppearing);
  }
  
  onEntering(node, isAppearing) {
    console.log('fade onEntering! node is', node, 'but why dont i see the appearing state?', isAppearing);
  }
@jquense
Copy link
Collaborator

jquense commented Aug 3, 2017

its a bug, I'm not quite sure why this is happening, if you want to take a crack at it go for it.

@alonbt
Copy link
Contributor Author

alonbt commented Aug 3, 2017

I'll give it my best shot!

@alonbt
Copy link
Contributor Author

alonbt commented Aug 3, 2017

fixed it: #144

jquense pushed a commit that referenced this issue Dec 20, 2018
Based on #144, but with working tests. Fixes #143.
jquense pushed a commit that referenced this issue Dec 20, 2018
## [2.5.2](v2.5.1...v2.5.2) (2018-12-20)

### Bug Fixes

* pass appear to CSSTransition callbacks ([#441](#441)) ([df7adb4](df7adb4)), closes [#143](#143)
@jquense
Copy link
Collaborator

jquense commented Dec 20, 2018

🎉 This issue has been resolved in version 2.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

johnfrench3 pushed a commit to johnfrench3/transition-group-react that referenced this issue Nov 2, 2022
## [2.5.2](reactjs/react-transition-group@v2.5.1...v2.5.2) (2018-12-20)

### Bug Fixes

* pass appear to CSSTransition callbacks ([#441](reactjs/react-transition-group#441)) ([df7adb4](reactjs/react-transition-group@df7adb4)), closes [#143](reactjs/react-transition-group#143)
patrickm68 added a commit to patrickm68/react-transition-group-developer that referenced this issue Dec 1, 2022
## [2.5.2](reactjs/react-transition-group@v2.5.1...v2.5.2) (2018-12-20)

### Bug Fixes

* pass appear to CSSTransition callbacks ([#441](reactjs/react-transition-group#441)) ([df7adb4](reactjs/react-transition-group@df7adb4)), closes [#143](reactjs/react-transition-group#143)
shaikdev2 pushed a commit to shaikdev2/transition-group-react that referenced this issue Jun 9, 2023
## [2.5.2](reactjs/react-transition-group@v2.5.1...v2.5.2) (2018-12-20)

### Bug Fixes

* pass appear to CSSTransition callbacks ([#441](reactjs/react-transition-group#441)) ([df7adb4](reactjs/react-transition-group@df7adb4)), closes [#143](reactjs/react-transition-group#143)
GreenCat1996 added a commit to GreenCat1996/react-transition-group that referenced this issue Aug 1, 2023
## [2.5.2](reactjs/react-transition-group@v2.5.1...v2.5.2) (2018-12-20)

### Bug Fixes

* pass appear to CSSTransition callbacks ([#441](reactjs/react-transition-group#441)) ([df7adb4](reactjs/react-transition-group@df7adb4)), closes [#143](reactjs/react-transition-group#143)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment