Answers for "auto scroll to view react-native"

0

auto scroll to view react-native

<ScrollView ref={view => this._scrollView = view} />
And set the scroll position elsewhere with:

scrollToRow(itemIndex) {
  this._scrollView.scrollTo({y:itemIndex * ROW_HEIGHT});
}
Posted by: Guest on September-17-2020

Code answers related to "auto scroll to view react-native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language