mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
Unbreak the dismissing keyboard behavior on Android
This commit is contained in:
parent
cec5360f1b
commit
93bbc6482d
@ -470,7 +470,11 @@ var ScrollResponderMixin = {
|
||||
},
|
||||
|
||||
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);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user