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.
1 parent ce14c1c commit 08231c6Copy full SHA for 08231c6
index.js
@@ -152,8 +152,8 @@ const ScrollableTabView = React.createClass({
152
const offsetX = e.nativeEvent.contentOffset.x;
153
this._updateScrollValue(offsetX / this.state.containerWidth);
154
}}
155
- onMomentumScrollBegin={ (e) => { this._onMomentumScrollBeginAndEnd(e) }}
156
- onMomentumScrollEnd={ (e) => { this._onMomentumScrollBeginAndEnd(e) }}
+ onMomentumScrollBegin={this._onMomentumScrollBeginAndEnd}
+ onMomentumScrollEnd={this._onMomentumScrollBeginAndEnd}
157
scrollEventThrottle={16}
158
scrollsToTop={false}
159
showsHorizontalScrollIndicator={false}
0 commit comments