Skip to content

Commit a141da7

Browse files
committed
DOC-2498: Closing a nested modal dialog would lose focus from the editor.
1 parent f236542 commit a141da7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/ROOT/pages/7.5-release-notes.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
158158

159159
// CCFR here.
160160

161+
=== Closing a nested modal dialog would lose focus from the editor.
162+
// #TINY-11153
163+
164+
When closing dialogs in an inline editor, focus was unintentionally lost before the dialog was fully closed. This issue was linked to link:https://www.tiny.cloud/docs/tinymce/6/6.5.1-release-notes/#closing-a-dialog-would-scroll-down-the-document-in-safari-on-macos[Closing a dialog would scroll down the document in Safari on macOS^] which was fixed in {productname} 6.5.1, where dismissing the Search/Replace dialog by clicking outside of it in Safari on macOS caused the document to scroll unexpectedly.
165+
166+
As a consequence of this linked issue, the loss of focus led to the editor entirely losing its focus, resulting in the inline editor hiding its UI. This behavior created confusion, as the preceding dialog (e.g., table properties) appeared to close unexpectedly.
167+
168+
The implemented fix ensures that focus is only shifted away from the dialog if it is currently focused. As a result, the editor retains its UI when closing nested dialogs.
161169

162170
[[security-fixes]]
163171
== Security fixes

0 commit comments

Comments
 (0)