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

Commit

Permalink
fix: hide overflow in TabViewAnimated
Browse files Browse the repository at this point in the history
We render tabs as sheets next to each other by default. So the inactive tabs are visible outside the screen's bounds unless we hide the overflow.
  • Loading branch information
satya164 committed Sep 13, 2016
1 parent 259252f commit 6d71440
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TabViewAnimated.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type { NavigationState, Route, SceneRendererProps } from './TabViewTypeDe
const styles = StyleSheet.create({
container: {
flex: 1,
overflow: 'hidden',
},
});

Expand Down

0 comments on commit 6d71440

Please sign in to comment.