(prevProps: KeyboardAwareHOCProps)
| 244 | } |
| 245 | |
| 246 | componentDidUpdate(prevProps: KeyboardAwareHOCProps) { |
| 247 | if (this.props.viewIsInsideTabBar !== prevProps.viewIsInsideTabBar) { |
| 248 | const keyboardSpace: number = this.props.viewIsInsideTabBar |
| 249 | ? _KAM_DEFAULT_TAB_BAR_HEIGHT |
| 250 | : 0 |
| 251 | if (this.state.keyboardSpace !== keyboardSpace) { |
| 252 | this.setState({ keyboardSpace }) |
| 253 | } |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | componentWillUnmount() { |
| 258 | this.mountedComponent = false |
nothing calls this directly
no outgoing calls
no test coverage detected