You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should there be an event? It sounds like pageshow might be good enough for this, provided things are restored at that time. As noted in Clarify that form state restoration does not fire events #7283 it seems developers could also use formStateRestoreCallback for this, which makes it very observable when exactly this process takes place...
What I'm confused about (and maybe this is a separate issue) is how, exactly, the formStateRestore reaction should be triggered in the case of autocomplete. This is beginning to be an issue for the teams I support. If this is the right place to discuss that behavior, let me know; otherwise, I'd be happy to create a new issue.
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=654072 it might be good to have more alignment about what form restoration entails. Questions that came up:
pageshow
might be good enough for this, provided things are restored at that time. As noted in Clarify that form state restoration does not fire events #7283 it seems developers could also useformStateRestoreCallback
for this, which makes it very observable when exactly this process takes place...Further context: #6853 (comment).
cc @gijsk @whatwg/forms
The text was updated successfully, but these errors were encountered: