We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b380a16 + 5dad02a commit cfe6e03Copy full SHA for cfe6e03
KeyboardSpacer.js
@@ -86,7 +86,7 @@ export default class KeyboardSpacer extends Component {
86
}
87
88
updateKeyboardSpace(event) {
89
- if (!event.endCoordinates) {
+ if (!event.endCoordinates || this.state.isKeyboardOpened) {
90
return;
91
92
@@ -113,6 +113,10 @@ export default class KeyboardSpacer extends Component {
113
114
115
resetKeyboardSpace(event) {
116
+ if (!this.state.isKeyboardOpened) {
117
+ return;
118
+ }
119
+
120
let animationConfig = defaultAnimation;
121
if (Platform.OS === 'ios') {
122
animationConfig = LayoutAnimation.create(
0 commit comments