From 6a674002cc893d40671810f9ad2f84a9d5aa84a4 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Mon, 28 Oct 2024 13:05:31 -0700 Subject: [PATCH] fix: clear touch identifier on comment icon down (#8627) --- core/comments/comment_view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/comments/comment_view.ts b/core/comments/comment_view.ts index bd90c7576..99c14aaa8 100644 --- a/core/comments/comment_view.ts +++ b/core/comments/comment_view.ts @@ -623,6 +623,7 @@ export class CommentView implements IRenderedElement { * event on the foldout icon. */ private onFoldoutDown(e: PointerEvent) { + touch.clearTouchIdentifier(); this.bringToFront(); if (browserEvents.isRightButton(e)) { e.stopPropagation(); @@ -738,6 +739,7 @@ export class CommentView implements IRenderedElement { * delete icon. */ private onDeleteDown(e: PointerEvent) { + touch.clearTouchIdentifier(); if (browserEvents.isRightButton(e)) { e.stopPropagation(); return;