Unbreak the dismissing keyboard behavior on Android

This commit is contained in:
Rui Chen 2015-07-22 15:09:43 -07:00
parent cec5360f1b
commit 93bbc6482d
1 changed files with 5 additions and 1 deletions

View File

@ -470,7 +470,11 @@ var ScrollResponderMixin = {
}, },
scrollResponderKeyboardDidShow: function(e: Event) { scrollResponderKeyboardDidShow: function(e: Event) {
this.keyboardWillOpenTo = null; // TODO(7693961): The event for DidShow is not available on iOS yet.
// Use the one from WillShow and do not assign.
if (e) {
this.keyboardWillOpenTo = e;
}
this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e); this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);
}, },