aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-07-03 17:35:43 +0300
committereug-vs <eug-vs@keemail.me>2020-07-03 17:41:26 +0300
commite6c8ec8d1cd861ec2bbe0b85e97f9c931375a06f (patch)
treea916b56317258ab529b38ac5754120f0d5a35f8c /src
parentc65aa75ba0b88721b32541c6d2cc2acb2a641bcb (diff)
downloadwhich-ui-e6c8ec8d1cd861ec2bbe0b85e97f9c931375a06f.tar.gz
feat: improve virtualization performance
Diffstat (limited to 'src')
-rw-r--r--src/components/Feed/Feed.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Feed/Feed.tsx b/src/components/Feed/Feed.tsx
index c532f45..5814711 100644
--- a/src/components/Feed/Feed.tsx
+++ b/src/components/Feed/Feed.tsx
@@ -46,6 +46,8 @@ const Feed: React.FC<PropTypes> = ({ polls }) => {
rowRenderer={RenderItem}
scrollTop={scrollTop}
width={width}
+ containerStyle={{ pointerEvents: 'auto' }}
+ overscanRowCount={1}
/>
</div>
)}