Preview mode selector requires scrolling when message is shown
th3hamm0r opened this issue · comments
Is your proposal related to a problem?
If a notification message is shown, e.g. when an object is locked, the preview-mode-selector seems to be displaced by the height of the message bar (multiple messages result in a larger displacement).
So if an object is locked, you always have to scroll down to change the preview mode.
wagtail_preview_mode_selector.webm
Describe the solution you'd like
It would be nice if the preview area would always be 100% of the height so that the selector remains accessible.
Steps to Reproduce
- Install the bakerydemo
- Log into the CMS
- Open the already locked person
/admin/snippets/base/person/edit/3/
(as in the video above)
Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
Thank you for the report! I've been aware of this for a while but kept forgetting to create an issue/fix. And yes, I think this should be fixed 😄
hey @th3hamm0r are you working on this issue, if not i would like to give a try
No, I'm not working on it, thanks for your initiative 👍
It would also be helpful to have the selection saved in the URL hash, so that a page refresh would preserve the selection.