Created
May 29, 2015 17:27
-
-
Save eboyer/3f5e7fcd884eb9d51949 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this._$drawerContent.on(transitionEvent, function() { | |
if (self.props.selected) { | |
self.isOpening = false; | |
self._drawerStyles = { | |
maxHeight: 'none', | |
WebkitTransition: 'none', | |
transition: 'none' | |
}; | |
self.forceUpdate(); // skips shouldComponentUpdate | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment