luox-app / luox

Code base for the luox platform
https://luox.app/
GNU General Public License v3.0
15 stars 11 forks source link

Scroll to top for each new page displayed by Router #31

Closed floehopper closed 3 years ago

floehopper commented 3 years ago

Trello: https://trello.com/c/iwosoe89

Previously the browser retained the same vertical position on the page when the Router loaded a new page. This was a bit odd in larger browser windows, because you would scroll down to click the "Start now" and "Next" buttons and then stay at that vertical position when the next page loaded. Now the vertical position is set back to the top of the page whenever a new page is loaded.

floehopper commented 3 years ago

@spitschan You can preview these changes here.