ngxtension / ngxtension-platform

Utilities for Angular
https://ngxtension.netlify.app/
MIT License
617 stars 87 forks source link

[Docs]: Maintain sidenav scroll state #302

Closed tanishqmanuja closed 7 months ago

tanishqmanuja commented 8 months ago

Problem Statement

Suppose I am looking for stuff related to signals. I click Signals > signalSlice (Browser Navigation happens). Then the scroll state of sidenav is gone and i have to re scroll to signals section.

Isn't a major issue, but yeah definitely a UX improvement is possible.

The solution could be as simple as scrolling the selected href element into view after each page transition

Dafnik commented 7 months ago

This seems to also be an upstream issue. https://github.com/withastro/starlight/discussions/971