fix(app): optimize large review panes (#35375)
This commit is contained in:
parent
14df88eab5
commit
3a149ba71c
19 changed files with 1074 additions and 404 deletions
4
packages/app/src/components/virtual-scroll-element.ts
Normal file
4
packages/app/src/components/virtual-scroll-element.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export function virtualScrollElement(root: HTMLElement | undefined) {
|
||||
if (!root?.isConnected) return null
|
||||
return root.closest<HTMLDivElement>(".scroll-view__viewport")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue