oengusio / oengus-webapp

Frontend for oengus
https://oengus.io
GNU Affero General Public License v3.0
5 stars 4 forks source link

Scroll Positioning #32

Open BobChao87 opened 3 years ago

BobChao87 commented 3 years ago

When navigating around the site, the scroll position of the page stays fixed when navigating by clicking on link. The back/forward buttons correctly preserve scroll position. We need to change this to continue to preserve scroll position on back/forward navigation, but to scroll to the top on navigation to a "new" page (i.e. when clicking on a link).

BobChao87 commented 3 years ago

Clicking on the same link again when that link is a hash should scroll back to that item, as is standard browser behaviour, but it doesn't. It should.