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

need to test other animation components for same issue #8

Closed
plandem opened this issue Jun 15, 2016 · 3 comments
Closed

need to test other animation components for same issue #8

plandem opened this issue Jun 15, 2016 · 3 comments

Comments

@plandem
Copy link

plandem commented Jun 15, 2016

ant-design/ant-design#2040

@jljsj33
Copy link
Member

jljsj33 commented Jun 15, 2016

have demo?

@plandem
Copy link
Author

plandem commented Jun 15, 2016

only real application :(

the case is:

  1. i have page that secure (after login)
  2. i click logout (it's dropdown with menu as overlay)
  3. after that i redirect to page that totally new - totally different layout - login page.
  4. we had exception because because of animation for dropdown menu - didUnmount tries to use child that already null

the main idea - just check for child != null before using child.key at unmounting phase

@jljsj33
Copy link
Member

jljsj33 commented Jun 15, 2016

ok, thanks

@jljsj33 jljsj33 closed this as completed Jun 16, 2016
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

2 participants