From f9ffd22a21c2b76caaca87033db877d9d05f04ab Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Mon, 2 May 2016 20:52:37 +0300 Subject: [PATCH] Fix isHeightMeasured logic --- src/components/auth/PanelTransition.jsx | 2 +- src/components/profile/changeEmail/ChangeEmail.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/auth/PanelTransition.jsx b/src/components/auth/PanelTransition.jsx index c98be2a..380e746 100644 --- a/src/components/auth/PanelTransition.jsx +++ b/src/components/auth/PanelTransition.jsx @@ -113,7 +113,7 @@ class PanelTransition extends Component { // a hack to disable height animation on first render const isHeightMeasured = this.isHeightMeasured; - this.isHeightMeasured = formHeight > 0; + this.isHeightMeasured = isHeightMeasured || formHeight > 0; return ( 0; + this.isHeightMeasured = isHeightMeasured || activeStepHeight > 0; return (