Skip to content

Commit

Permalink
Fix issue where dismissing event cancels focus
Browse files Browse the repository at this point in the history
  • Loading branch information
11k committed Nov 11, 2024
1 parent 139a9f0 commit 351cfd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/chat/js/event-bar/EventBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export default class ChatEventBar extends EventEmitter {
return;
}

// Prevent the click from canceling focus, if enabled
e.stopPropagation();

this.unselect();
});
}
Expand Down

0 comments on commit 351cfd9

Please sign in to comment.