diff options
author | eug-vs <eug-vs@keemail.me> | 2020-07-03 17:35:43 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-07-03 17:41:26 +0300 |
commit | e6c8ec8d1cd861ec2bbe0b85e97f9c931375a06f (patch) | |
tree | a916b56317258ab529b38ac5754120f0d5a35f8c /src | |
parent | c65aa75ba0b88721b32541c6d2cc2acb2a641bcb (diff) | |
download | which-ui-e6c8ec8d1cd861ec2bbe0b85e97f9c931375a06f.tar.gz |
feat: improve virtualization performance
Diffstat (limited to 'src')
-rw-r--r-- | src/components/Feed/Feed.tsx | 2 |
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> )} |