feat: Improve Virtuoso list rendering for proxy groups
This commit is contained in:
@@ -204,10 +204,15 @@ export const ProxyGroups = (props: Props) => {
|
||||
ref={virtuosoRef}
|
||||
style={{ height: "calc(100% - 16px)" }}
|
||||
totalCount={renderList.length}
|
||||
increaseViewportBy={256}
|
||||
increaseViewportBy={{ top: 256, bottom: 256 }}
|
||||
overscan={150}
|
||||
defaultItemHeight={56}
|
||||
scrollerRef={(ref) => {
|
||||
scrollerRef.current = ref;
|
||||
}}
|
||||
components={{
|
||||
Footer: () => <div style={{ height: "16px" }} />,
|
||||
}}
|
||||
itemContent={(index) => (
|
||||
<ProxyRender
|
||||
key={renderList[index].key}
|
||||
|
||||
Reference in New Issue
Block a user