From 5e3bc594c6b70045de9143e137e9278ee66a720c Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 18 Mar 2024 09:03:13 +0100 Subject: [PATCH] UX: do not close post text selection on scroll (#26217) --- .../javascripts/discourse/app/components/post-text-selection.gjs | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/app/components/post-text-selection.gjs b/app/assets/javascripts/discourse/app/components/post-text-selection.gjs index d1844773363..5bfb62e8a83 100644 --- a/app/assets/javascripts/discourse/app/components/post-text-selection.gjs +++ b/app/assets/javascripts/discourse/app/components/post-text-selection.gjs @@ -194,6 +194,7 @@ export default class PostTextSelection extends Component { : ["bottom-start"], offset: this.shouldRenderUnder ? 25 : 3, trapTab: false, + closeOnScroll: false, data: { canEditPost: this.canEditPost, canCopyQuote: this.canCopyQuote,