Page refreshes do not keep your place but rather take you to the top in v5.x with the following config:
theme:
name: material
features:
- instant
Pressing F5 should maintain your approximate spot on the page
Pressing F5 (without an anchor selected) takes you to the top
theme:
name: material
features:
- instant
Hmm. Could you please add some more information and adhere to the issue template?
Done!
Perfect, thanks!
Should be fixed as of 4d370fe9. The reason why this was happening lies in the fact that the value of history.scrollRestoration is persisted across reloads:
The following line now hands back the task of scroll restoration to the browser before the reload:
After the reload, scroll restoration is set back to "manual" when instant loading is enabled. The change is deployed with instant loading enabled on the deploy preview. Does it work for you?
It works!!!
Cool. I'll be cleaning up some stuff today and will release a final RC including all fixes made.
The fix was just released as part of RC 4. See #1498 for details.