diff --git a/frameworks/core/components_ng/pattern/rich_editor/rich_editor_pattern.cpp b/frameworks/core/components_ng/pattern/rich_editor/rich_editor_pattern.cpp index 12c3c784c7e4b6ad2bcc52b4f3fede08707c75cb..c82ea0ede6e8920d20054179e1d050e1e1106e31 100644 --- a/frameworks/core/components_ng/pattern/rich_editor/rich_editor_pattern.cpp +++ b/frameworks/core/components_ng/pattern/rich_editor/rich_editor_pattern.cpp @@ -2170,6 +2170,9 @@ void RichEditorPattern::InitLongPressEvent(const RefPtr& gestur auto onTextSelectorChange = [weak = WeakClaim(this), &selector = textSelector_]() { auto pattern = weak.Upgrade(); CHECK_NULL_VOID(pattern); + if (!selector.SelectNothing()) { + pattern->StopTwinkling(); + } pattern->FireOnSelectionChange(selector); auto frameNode = pattern->GetHost(); CHECK_NULL_VOID(frameNode);