From 46c0856475729de658784ef9f1fe92a2d1a58635 Mon Sep 17 00:00:00 2001 From: abhinavgandham Date: Tue, 11 Feb 2025 11:11:55 +0530 Subject: [PATCH 1/3] DOC-3132: Closing the comment kebab menu with keyboard would result in the editor dispatching a event. --- modules/ROOT/pages/7.7.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/7.7.0-release-notes.adoc b/modules/ROOT/pages/7.7.0-release-notes.adoc index 44c2bc43a3..a598ca6b81 100644 --- a/modules/ROOT/pages/7.7.0-release-notes.adoc +++ b/modules/ROOT/pages/7.7.0-release-notes.adoc @@ -56,6 +56,21 @@ As a result, these extensions were blocked, and users encountered the error mess For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer]. +=== Comments + +The {productname} {release-version} release includes an accompanying release of the **Comments** premium plugin. + +**Comments** includes the following fixes. + +==== Closing the comment kebab menu with keyboard would result in the editor dispatching a `blur` event. + +In previous versions of {productname}, an issue was identified where the editor would trigger a `blur` event if the comment kebab menu was closed using the `escape` key. +This occurred even when the editor still had focus, leading to confusing behavior. + +{productname} {release-version} resolves this by manually controlling where the focus goes after closing the kebab menu, rather than relying on the browser. This ensures that the editor does not trigger any `blur` events. + +For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments]. + [[improvements]] == Improvements From b8b60e8976b182f927c30e70001ecd5540eaf848 Mon Sep 17 00:00:00 2001 From: "CODE:AG" <57781325+abhinavgandham@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:15:24 +0530 Subject: [PATCH 2/3] Update modules/ROOT/pages/7.7.0-release-notes.adoc --- modules/ROOT/pages/7.7.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/7.7.0-release-notes.adoc b/modules/ROOT/pages/7.7.0-release-notes.adoc index a598ca6b81..a8a0b3528a 100644 --- a/modules/ROOT/pages/7.7.0-release-notes.adoc +++ b/modules/ROOT/pages/7.7.0-release-notes.adoc @@ -63,7 +63,7 @@ The {productname} {release-version} release includes an accompanying release of **Comments** includes the following fixes. ==== Closing the comment kebab menu with keyboard would result in the editor dispatching a `blur` event. - +// #TINY-11172 In previous versions of {productname}, an issue was identified where the editor would trigger a `blur` event if the comment kebab menu was closed using the `escape` key. This occurred even when the editor still had focus, leading to confusing behavior. From 193cdad6195f01b9f7b72e4160f0d4072935539f Mon Sep 17 00:00:00 2001 From: "CODE:AG" <57781325+abhinavgandham@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:23:34 +0530 Subject: [PATCH 3/3] Update modules/ROOT/pages/7.7.0-release-notes.adoc Co-authored-by: Karl Kemister-Sheppard --- modules/ROOT/pages/7.7.0-release-notes.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/7.7.0-release-notes.adoc b/modules/ROOT/pages/7.7.0-release-notes.adoc index a8a0b3528a..4e90be50dd 100644 --- a/modules/ROOT/pages/7.7.0-release-notes.adoc +++ b/modules/ROOT/pages/7.7.0-release-notes.adoc @@ -64,10 +64,10 @@ The {productname} {release-version} release includes an accompanying release of ==== Closing the comment kebab menu with keyboard would result in the editor dispatching a `blur` event. // #TINY-11172 -In previous versions of {productname}, an issue was identified where the editor would trigger a `blur` event if the comment kebab menu was closed using the `escape` key. -This occurred even when the editor still had focus, leading to confusing behavior. -{productname} {release-version} resolves this by manually controlling where the focus goes after closing the kebab menu, rather than relying on the browser. This ensures that the editor does not trigger any `blur` events. +In previous versions of **Comments**, an issue was identified where the editor would trigger a `blur` event if the comment kebab menu was closed using the `escape` key. This occurred even when the editor still had focus, leading to confusing behavior. + +{productname} {release-version} resolves this issue by ensuring that focus is properly managed when closing the kebab menu, rather than relying on the browser. This ensures that the editor does not trigger any `blur` events. For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Comments].