-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having a Hyper field in a Matrix field creates constant "Showing your unsaved changes" message #189
Comments
I can't seem to replicate this in any browser I'm afraid, and I've replicated your field setup of nested Matrix fields. Certainly seems like a race condition based on the loading "flash" when you reload the page. |
This has also happened to me in Chrome with a sufficiently complicated Neo field containing or next to a Hyper field. It stops happening if I disable the timeout added to |
Good find, @stereomyth. @engram-design, would allowing us to set the timeout value for updateInitialSerializedValue be a reasonable option? Maybe we need to set ours at 1000, for example. |
Just pushing some revised changes to address this. To get this early, run |
@engram-design I went ahead and updated to this on a local dev site, and I'm still getting the issue. It happens immediately after the page reloads from saving. |
Thanks for letting me know @daveguillory. Sorry to be a pain, but can you replicate this with as minimal example as possible? Ideally with just the Hyper field, and maybe even disabling every other non-critical plugin. I'm struggling to reproduce these even after manually adding unrealistic timeout values to simulate race conditions. |
I am having the same issue with nested fields in Neo and it happens as soon I am entering an entry without any actions. Unfortunately the |
Maybe this helps: we are running Craft In 5.3.0 these changes came up:
Maybe this could cause the race condition? |
Same exact issue. Extremely annoying behavior. |
Describe the bug
Even with
CRAFT_AUTOSAVE_DRAFTS=false
, our Hyper fields within Matrix fields create drafts, but only when using Firefox (Mac). We can never escape the "Showing your unsaved changes" message.Steps to reproduce
Craft CMS version
6.3.5
Plugin version
2.0.4
Multi-site?
No
Additional context
The text was updated successfully, but these errors were encountered: