OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Remember markdown page position #377

Open smalers opened 3 years ago

smalers commented 3 years ago

I have updated the Poudre Basin Information website so that markdown files use local website URLs #map/some-map. This works well because it allows the links to work within a versioned website deployment and not have to link to absolute URL such as https://poudre.openwaterfoundation.org/latest/#/map. Links to content pages can also use the hash. This makes the navigation of the application cleaner. However, when jumping between content pages and using "back" in the browser the content pages are always displayed starting at the top. It would be useful if the content page would position itself at the last scroll position, similar to how web browsers work. I do not know if this is possible and what it would take to enable, but I'm adding the issue to start the conversation.