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.
1 parent e90ae65 commit 0083ea9Copy full SHA for 0083ea9
index.js
@@ -172,6 +172,9 @@ export default class ModalBox extends React.PureComponent {
172
const keyboardFrame = evt.endCoordinates;
173
const keyboardHeight = this.state.containerHeight - keyboardFrame.screenY;
174
175
+ if(Dimensions.get('window').width !== keyboardFrame.width)
176
+ return;
177
+
178
this.setState({keyboardOffset: keyboardHeight}, () => {
179
this.animateOpen();
180
});
0 commit comments