mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
Page-scrolled grids (fillHeight=false, no maxHeight) grow to their content height and never scroll internally, so the virtualizer measured a viewport equal to the full list and mounted every loaded row into the DOM. On long histories (thousands of rows) the DOM and heap grew unbounded until the tab OOM-crashed, with nothing in the console, no failed requests, and no Sentry errors. Track the nearest scrolling ancestor (with TanStack scrollMargin) so only the visible window stays mounted. Co-Authored-By: aman <aman@stack-auth.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| dashboard-ui-components | ||
| js | ||
| next | ||
| react | ||
| sc | ||
| shared | ||
| shared-backend | ||
| tanstack-start | ||
| template | ||
| ui | ||