diff --git a/lib/KeyboardAwareHOC.js b/lib/KeyboardAwareHOC.js index 6efc646..4aa4c09 100644 --- a/lib/KeyboardAwareHOC.js +++ b/lib/KeyboardAwareHOC.js @@ -2,7 +2,7 @@ import React from 'react' import PropTypes from 'prop-types' -import ReactNative, { +import { Keyboard, Platform, UIManager, @@ -459,7 +459,7 @@ function KeyboardAwareHOC( if (extraHeight === undefined) { extraHeight = this.props.extraHeight } - const reactNode = ReactNative.findNodeHandle(nodeID) + const reactNode = findNodeHandle(nodeID) this.scrollToFocusedInput( reactNode, extraHeight + this.props.extraScrollHeight,