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 cfd2cd0 commit 9d8dff9Copy full SHA for 9d8dff9
index.js
@@ -236,7 +236,7 @@ const ScrollableTabView = React.createClass({
236
_handleLayout(e) {
237
const { width, } = e.nativeEvent.layout;
238
239
- if (Math.round(width, 2) !== Math.round(this.state.containerWidth, 2)) {
+ if (Math.round(width) !== Math.round(this.state.containerWidth)) {
240
this.setState({ containerWidth: width, });
241
this.requestAnimationFrame(() => {
242
this.goToPage(this.state.currentPage);
0 commit comments