ScrollState Retainer
by LitnhJacuzzi
With ScrollState Retainer installed, a scroll position survives opening and closing a confirmation dialog on the client.
What it does
The mod restores the scroll state of a list screen after a confirmation screen closes, so the list does not jump back to the top. Many screens, such as the chat, already behave this way, and ScrollState Retainer brings the same behavior to screens that lack it. The author attributes the original problem mainly to the lack of a unified layout framework in the game.
ScrollState Retainer is client-side only, so only the player's client needs it and servers run without it. It is distributed for Fabric, with files for 1.16 – 1.21.10, and is released under the GNU General Public License v3.0 only, making it open source.
Key features
Scroll position kept
The list returns to the same scroll position after a confirmation screen is dismissed.
Matches chat behavior
Screens that do not restore scroll state now behave like the chat screen after it closes.
Client-only install
The mod runs on the client alone, so servers need nothing extra.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does ScrollState Retainer need to be installed on the server?
Which loader does ScrollState Retainer use?
In the catalog
ScrollState Retainer is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 15,569 mods support Minecraft 1.21.10.
More from LitnhJacuzzi
Similar mods
What the author says
While this is always an expected behavior after such a screen closed, many screen implementations (such as chat screen) are doing the opposite thing. Technically, this is mainly caused by the lack of a powerful and unified layout framework.
Official listing
- Modrinth page
- modrinth.com/mod/scrollstate-retainer
- Owner
- LitnhJacuzzi
- Published
- 2024-11-27
- Updated on Modrinth
- 2024-12-26
- Facts verified
- 2026-10-15