fix(app): optimize large review panes (#35375)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function virtualScrollElement(root: HTMLElement | undefined) {
|
||||
if (!root?.isConnected) return null
|
||||
return root.closest<HTMLDivElement>(".scroll-view__viewport")
|
||||
}
|
||||
Reference in New Issue
Block a user