Skip to content

Commit

Permalink
Update README.md (#307)
Browse files Browse the repository at this point in the history
Fix path to `scrollToFocusedInput` in `Programatically scroll to any TextInput` section.
  • Loading branch information
piotrgrundas authored and alvaromb committed Oct 11, 2018
1 parent df981fd commit 538ed33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
```

Expand Down

0 comments on commit 538ed33

Please sign in to comment.