We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 229e929 + 4dac89b commit d859068Copy full SHA for d859068
ScrollableTabBar.js
@@ -65,11 +65,11 @@ var ScrollableTabBar = React.createClass({
65
newScrollX = newScrollX >= 0 ? newScrollX : 0;
66
67
if (Platform === 'android') {
68
- this._scrollView.scrollWithoutAnimationTo(0, newScrollX);
+ this._scrollView.scrollTo({x: newScrollX, y: 0});
69
} else {
70
const rightBoundScroll = this._tabContainerMeasurements.width - (this._containerMeasurements.width);
71
newScrollX = newScrollX > rightBoundScroll ? rightBoundScroll : newScrollX;
72
73
}
74
75
},
@@ -201,4 +201,3 @@ var styles = StyleSheet.create({
201
height: TAB_HEIGHT,
202
203
});
204
-
0 commit comments