You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a page has a lot of content, the browser will start the render the visible content right away. When it then discovers there's a right sidebar (the toc), it will reflow the article to make room for it. This can be fixed by putting the toc insertion slow before the article, then using flexbox to swap the order. That way, the browser preserves space for the toc and avoids the reflow.