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 ff5ccb5 commit 11aec54Copy full SHA for 11aec54
index.js
@@ -329,7 +329,7 @@ const ScrollableTabView = createReactClass({
329
_handleLayout(e) {
330
const { width, } = e.nativeEvent.layout;
331
332
- if (Math.round(width) !== Math.round(this.state.containerWidth)) {
+ if (width > 0 && Math.round(width) !== Math.round(this.state.containerWidth)) {
333
if (Platform.OS === 'ios') {
334
const containerWidthAnimatedValue = new Animated.Value(width);
335
// Need to call __makeNative manually to avoid a native animated bug. See
0 commit comments