From 776d8712965b0491ec920116268885ff5dc810bc Mon Sep 17 00:00:00 2001 From: Piotr Grundas Date: Fri, 7 Sep 2018 12:35:15 +0200 Subject: [PATCH] Update README.md Fix path to `scrollToFocusedInput` in `Programatically scroll to any TextInput` section. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e13c909..6efadc3 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ In order to scroll to any `TextInput` field, you can use the built-in method `sc ```js _scrollToInput (reactNode: any) { // Add a 'scroll' ref to your ScrollView - this.scroll.scrollToFocusedInput(reactNode) + this.scroll.props.scrollToFocusedInput(reactNode) } ```