mirror of
https://github.com/we-promise/sure.git
synced 2026-07-12 21:05:20 +00:00
fix(settings): preserve scroll position in settings nav The settings nav scrolled back to the top on every Turbo navigation. preserve-scroll was applied to the nav element itself, but that element has no overflow - scrollTop was always 0, so nothing was ever saved. Apply preserve-scroll to the actual scrollable container (the sidebar div with md:overflow-y-auto) and give it an id so the controller can key the saved position.