Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Fix checking of scrollTo() #163

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/TabViewPagerScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class TabViewPagerScroll extends PureComponent<void, Props, void>
_isMomentumScroll: boolean = false;

_scrollTo = (x: number) => {
if (this._scrollView) {
if (this._scrollView && this._scrollView.scrollTo) {
this._scrollView.scrollTo({
x,
animated: false,
Expand Down