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 73f99c2 + f776155 commit a07e8d4Copy full SHA for a07e8d4
ScrollableTabBar.js
@@ -84,7 +84,7 @@ const ScrollableTabBar = React.createClass({
84
newScrollX -= this.props.scrollOffset;
85
newScrollX = newScrollX >= 0 ? newScrollX : 0;
86
87
- if (Platform === 'android') {
+ if (Platform.OS === 'android') {
88
this._scrollView.scrollTo({x: newScrollX, y: 0, });
89
} else {
90
const rightBoundScroll = this._tabContainerMeasurements.width - (this._containerMeasurements.width);
0 commit comments