react-native-keyboardevents
react-native-keyboardevents copied to clipboard
Live Keyboard height?
Following up on https://github.com/johanneslumpe/react-native-keyboardevents/issues/18#issuecomment-120847833
Do you have any ideas on how we might accomplish this?
in
updateKeyboardSpace(frames) {
this.setState({keyboardSpace: frames.end.height});
}
frames object sometimes that has end and start and sometimes endCoordinates and startCoordinates. Is there a difference?
@pgmemk Please do not hijack other issues :) Please refer to https://github.com/johanneslumpe/react-native-keyboardevents/pull/26#issuecomment-143475141 and https://github.com/johanneslumpe/react-native-keyboardevents/issues/24#issuecomment-142209519 for answers to your question.
@johanneslumpe I followed ur repo and trying to execute it in my code, I got an error: undefined is not an object(evaluating 'RNKeyboardEventsManager[eventKey]').