Skip to content

Commit

Permalink
refactor(Carousel): set removeClippedSubviews to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-arc committed Nov 6, 2017
1 parent ce3bf06 commit 4dbb45f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/carousel/Carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,8 @@ export default class Carousel extends Component {
maxToRenderPerBatch={maxToRenderPerBatch}
windowSize={windowSize}
// updateCellsBatchingPeriod
// renderToHardwareTextureAndroid={true}
removeClippedSubviews={true}
inverted={this._needsRTLAdaptations()}
{...this.props}
ref={(c) => { if (c) { this._flatlist = c._component; } }}
Expand Down

0 comments on commit 4dbb45f

Please sign in to comment.