Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
fix: don't hide overflow in pager pan
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Apr 20, 2017
1 parent 46656c7 commit a631a85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/TabViewPagerPan.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ type Props = SceneRendererProps & {
swipeDistanceThreshold: number,
swipeVelocityThreshold: number,
children?: any,
style?: any,
};

const DEAD_ZONE = 12;
Expand Down Expand Up @@ -197,7 +196,7 @@ export default class TabViewPagerPan
testID={navigationState.routes[i].testID}
style={
width
? { width, overflow: 'hidden' }
? { width }
: i === navigationState.index ? StyleSheet.absoluteFill : null
}
>
Expand Down

0 comments on commit a631a85

Please sign in to comment.