Description
When navigating through subjects/nodes (especially after expanding to SSC + HSC levels) and clicking into a specific resource view, pressing the browser's Back button or returning to the chapter list resets the view and scroll position.
Expected Behavior
Users should be returned to their exact scroll position and active chapter node filters.
Suggested Fix
Use Inertia's remember property or preserveScroll: true / preserveState: true on resource back-links and filter components:
<Link :href="route('subjects.show', subject.id)" preserve-scroll preserve-state>
← Back to Subject
</Link>
Description
When navigating through subjects/nodes (especially after expanding to SSC + HSC levels) and clicking into a specific resource view, pressing the browser's Back button or returning to the chapter list resets the view and scroll position.
Expected Behavior
Users should be returned to their exact scroll position and active chapter node filters.
Suggested Fix
Use Inertia's
rememberproperty orpreserveScroll: true/preserveState: trueon resource back-links and filter components: