# WAIT: Table of Contents (ToC) scroll offset incorrect when using "Smooth Scroll (CSS)"

**URL:** <https://forum.bricksbuilder.io/t/wait-table-of-contents-toc-scroll-offset-incorrect-when-using-smooth-scroll-css/38614>\
**Category:** Bugs\
**Tags:** v2-2\
**Created:** [March 20, 2026, 8:33pm UTC](https://forum.bricksbuilder.io/t/wait-table-of-contents-toc-scroll-offset-incorrect-when-using-smooth-scroll-css/38614 "2026-03-20T20:33:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![timmse](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/timmse/32/1192_2.png) [@timmse](https://forum.bricksbuilder.io/u/timmse)\
**Post date:** [March 23, 2026, 9:49am UTC](https://forum.bricksbuilder.io/t/wait-table-of-contents-toc-scroll-offset-incorrect-when-using-smooth-scroll-css/38614/2 "2026-03-23T09:49:21Z")

</div>

Hi Ben,  
Thanks so much for your report!

The problem sounds similar to these:

> [@DUPLICATE: "Smooth scroll (CSS)" setting enabled causing inconsistent scrolling with Tabs (nestable) and Table of contents elements](https://forum.bricksbuilder.io/t/duplicate-smooth-scroll-css-setting-enabled-causing-inconsistent-scrolling-with-tabs-nestable-and-table-of-contents-elements/32418):
>
> Browser: Firefox 138.0.1 and Chrome 136 OS: Windows (10) for sure (macOS, tentatively). Likely across all platforms I’ve noticed very odd scrolling behavior with both the Tabs (nestable) when using direct links to the tabs, as well as the Table of contents element. I have a sticky top nav bar. The footer is pushed to the bottom so that there is always a scrollbar and no layout shifts if the page doesn’t have enough content, vertically. The navigation and scrolling behavior seems different depe…

> [@WIP: Table of contents Element: Highlighting does not work with position: relative](https://forum.bricksbuilder.io/t/wip-table-of-contents-element-highlighting-does-not-work-with-position-relative/25487):
>
> Browser: FF 114.15.0, Safari 16.6.1 OS: macOS When using the native ToC element, everything works fine except for assigning the active state to the current element. I found out that it has something to do with relatively positioned containers that contain my headings. Any heading inside a container that is ralatively positioned is not highlighted in the ToC, except the last one. Is this behavior intentional, or does anyone have a workaround for me?

Could you check if you have any relative wrappers that might affect the scrolling position (as described in the mentioned threads), or provide a link or login credentials (via email)?

Best regards,  
timmse

---

_[View the full topic](https://forum.bricksbuilder.io/t/wait-table-of-contents-toc-scroll-offset-incorrect-when-using-smooth-scroll-css/38614)._
