When youāre editing the content of a record and decide to move the browser window (for example, dragging it to another monitor, or snapping it side by side with another window/tab), all unsaved changes are lost. This includes text edits, image changes, and removed elements.
Steps to reproduce:
Open a record in DatoCMS.
Make some changes (text, images, or element removals).
Move the browser window to another screen or snap it to a side.
Observe that all changes are gone.
Environment:
Browser: Chrome (latest version)
Would love to know if this is reproducible for others and if thereās a fix in the works.
Weāve noticed this sometimes happen when resizing a window ā itās a responsiveness bug on our side ā but havenāt heard of it happening when moving a window. Can you please confirm whether thatās the case for you, i.e., if simply moving a window (without resizing it as well, as with auto-snapping it if you move it close to a side of the monitor) will also cause this issue?
And could you please specify which browser and operating system youāre using?
Iāll make a fuller report about this once we have the details. Thank you and sorry about that!
I double-checked and it indeed happens when resizing the window (for example when snapping it to the side of the screen). Simply moving the window without resizing doesnāt seem to trigger the issue.
Thank you, @vkaars. This definitely looks like an issue on our side. Sorry about that, Iāll report it right away! In the meantime, please consider using an Auto-save plugin (Record auto-save - Plugins ā DatoCMS) or trying not to resize the window while working. (You shouldnāt have to do that⦠itās a bug on our end! Thatās just a temporary workaround.)
Just confirming this as an issue on our side that we are working on addressing. Iāll report back either when itās fixed or once we have a better ETA.
We believe this issue should be resolved now! Sorry it took a bit of time⦠needed a deeper investigation. If you notice this happening again, please let us know, but we believe it to be fixed for now.
Thanks for the quick fix, the scaling issues seem resolved However, I noticed a new side effect: when saving a record, the Preview button at the top of the page disappears.
Could you check if this is related to the recent changes?
That looks like something one your devs mightāve added via a āfield extensionā plugin. Could you check with them, please? (And if they canāt fix it, please have them reach out to us at support@datocms.com with more details, and the plugin source code if possible)