Hi everyone,
I’m running into a really annoying UI issue with a scrolling container that wraps a Module, and I can’t get it to reliably load from the top.
Structure:
- A container component with vertical scrolling enabled
- Inside that container, I load a Module (a fairly tall details view)
- This same Module is reused on multiple pages in the app, always wrapped in a similar container setup.
Because the Module content is taller than the viewport, the container shows its own scrollbar, which is fine. The problem is where that scrollbar starts.
The problem:
Whenever I:
-
open the app and navigate to the page with this container+module, or
-
switch to another page and back,
the container’s scroll position is not at the top.
Instead, the scroll is somewhere in the middle of the Module content.
This happens:
-
Consistently on initial load
-
Consistently when navigating between pages where this Module is used
-
Even if I manually scroll to the top, then leave and come back, it often re-opens somewhere around the middle again
What I expect:
Every time the page loads, the container that wraps the Module starts at scrollTop = 0 (top of content).
Questions
-
Is this a known issue with Modules inside scrollable containers where Retool “remembers” scroll position incorrectly?
-
Is there a recommended way to force a container’s scroll position to the top when:
-
Navigating to a page
-
Or when a Module is mounted inside that container?
-
-
Is there any setting or best practice I’m missing for:
-
Containers with scroll + Modules
-
Or controlling scroll behavior on page load in general?
-
I added some pictures for context.

