Skip to content

Commit

Permalink
Fix header long press theme toggle on conversations page (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Aug 9, 2024
1 parent fb26613 commit b92ab8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/longPress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const onFinishStopClick = (event: LongPressReactEvents) => {

function stopClick(event: MouseEvent) {
event.stopImmediatePropagation();
event.preventDefault();
clearTimeoutIfNeeded();
}

Expand Down

0 comments on commit b92ab8c

Please sign in to comment.