Skip to content

Commit

Permalink
Make removeClippedSubviews default to true on ListView/RecyclingListView
Browse files Browse the repository at this point in the history
Reviewed By: @satishsampath

Differential Revision: D2536046

fb-gh-sync-id: 7e0b4442bb0b3705bba3b5f7bdf873fb348a83f6
  • Loading branch information
astreet authored and facebook-github-bot-7 committed Oct 13, 2015
1 parent e0b2c2e commit 28f6eba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Libraries/CustomComponents/ListView/ListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ var ListView = React.createClass({
if (!props.scrollEventThrottle) {
props.scrollEventThrottle = DEFAULT_SCROLL_CALLBACK_THROTTLE;
}
if (props.removeClippedSubviews === undefined) {
props.removeClippedSubviews = true;
}
Object.assign(props, {
onScroll: this._onScroll,
stickyHeaderIndices: sectionHeaderIndices,
Expand Down

0 comments on commit 28f6eba

Please sign in to comment.