Closed K-Nksm closed 5 months ago
iOS has a bug that beforeunload does not work. In this PR, to prevent unintentional leave from editor page while there is unsaved edits, pagehide event listener is registered.
beforeunload
pagehide
iOS has a bug that
beforeunload
does not work. In this PR, to prevent unintentional leave from editor page while there is unsaved edits,pagehide
event listener is registered.