Set generously (โ 2 viewport heights) so that on dedicated dashboard pages (/dashboards/<name>.html) the single below-fold dashboard container always pre-fetches without requiring user scroll โ the previous 200px value left those pages with empty charts until the user scrolled, because the only dashboard on the page sits ~1 000โ1 500 px below a 720 px viewport.
Tests assert this exact value to lock the contract.
Default
IntersectionObserverrootMarginused by initLazyDashboards.Set generously (โ 2 viewport heights) so that on dedicated dashboard pages (
/dashboards/<name>.html) the single below-fold dashboard container always pre-fetches without requiring user scroll โ the previous200pxvalue left those pages with empty charts until the user scrolled, because the only dashboard on the page sits ~1 000โ1 500 px below a 720 px viewport.Tests assert this exact value to lock the contract.