Make removeClippedSubviews default to true on ListView/RecyclingListView
Reviewed By: @satishsampath Differential Revision: D2536046 fb-gh-sync-id: 7e0b4442bb0b3705bba3b5f7bdf873fb348a83f6
This commit is contained in:
parent
e0b2c2e34e
commit
28f6eba22d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue