From 195404bce533b962cca27f652cbe9f530661fa1a Mon Sep 17 00:00:00 2001 From: yskoht Date: Tue, 8 Sep 2020 22:23:26 +0900 Subject: [PATCH] Fix props undefined (APSL#451) --- lib/KeyboardAwareHOC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/KeyboardAwareHOC.js b/lib/KeyboardAwareHOC.js index 51a91d7..61b1009 100644 --- a/lib/KeyboardAwareHOC.js +++ b/lib/KeyboardAwareHOC.js @@ -487,7 +487,7 @@ function KeyboardAwareHOC( _handleRef = (ref: React.Component<*>) => { this._rnkasv_keyboardView = ref ? hocOptions.extractNativeRef(ref) : ref if (this.props.innerRef) { - this.props.innerRef(this._rnkasv_keyboardView) + this.props.innerRef(this.getScrollResponder()) } }