wagtail / wagtail

A Django content management system focused on flexibility and user experience
https://wagtail.org
BSD 3-Clause "New" or "Revised" License
17.85k stars 3.76k forks source link

Page editor should 'remember' the scroll distance after saving a draft #5809

Closed jckpn closed 8 months ago

jckpn commented 4 years ago

I save drafts very often out of habit, however with Wagtail I'm always reluctant to do so as it makes the page refresh (and scroll to the top as a result of this). It can be a bit jarring and can hinder workflow. I'd expect it to 'remember' the part I was editing and scroll back down to it, or ideally save the draft without totally refreshing the page.

See https://gfycat.com/gratefulwhimsicalconure

thibaudcolas commented 2 years ago

For people interested in this, we are going to address this as part of the page editor 2022 project – we’ll have autosave, so there won’t be as much of a need to remember scroll positions after editing a page.

thibaudcolas commented 8 months ago

I’m going to close this in favour of Autosave #24 from the Wagtail roadmap. I don’t see ourselves ever implementing scroll restoration for drafts, but we will implement mechanisms to minimize the amount of full page reloads.