Skip to content

Commit

Permalink
fix: clear touch identifier on comment icon down (#8627)
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll authored Oct 28, 2024
1 parent 1d25903 commit 6a67400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/comments/comment_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -738,6 +739,7 @@ export class CommentView implements IRenderedElement {
* delete icon.
*/
private onDeleteDown(e: PointerEvent) {
touch.clearTouchIdentifier();
if (browserEvents.isRightButton(e)) {
e.stopPropagation();
return;
Expand Down

0 comments on commit 6a67400

Please sign in to comment.