mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-17 11:11:21 +08:00
[Experimental] Enable removeClippedSubviews
This commit is contained in:
@@ -58,6 +58,7 @@ export class EventCards extends PureComponent<
|
||||
data={events}
|
||||
ItemSeparatorComponent={CardItemSeparator}
|
||||
keyExtractor={this.keyExtractor}
|
||||
removeClippedSubviews
|
||||
renderItem={this.renderItem}
|
||||
/>
|
||||
</TransparentTextOverlay>
|
||||
|
||||
@@ -62,9 +62,10 @@ export class NotificationCards extends PureComponent<
|
||||
>
|
||||
<FlatList
|
||||
key="notification-cards-flat-list"
|
||||
data={notifications}
|
||||
ItemSeparatorComponent={CardItemSeparator}
|
||||
data={notifications}
|
||||
keyExtractor={this.keyExtractor}
|
||||
removeClippedSubviews
|
||||
renderItem={this.renderItem}
|
||||
/>
|
||||
</TransparentTextOverlay>
|
||||
|
||||
@@ -86,6 +86,7 @@ export class Columns extends PureComponent<ColumnsProps> {
|
||||
horizontal
|
||||
keyExtractor={this.keyExtractor}
|
||||
pagingEnabled={this.pagingEnabled}
|
||||
removeClippedSubviews
|
||||
scrollEnabled={!this.swipeable}
|
||||
{...props}
|
||||
renderItem={this.renderItem}
|
||||
|
||||
Reference in New Issue
Block a user