Browse Source

Fix triggering selection on quick reaction

master
Eduard Kuzmenko 3 years ago
parent
commit
f7a3fc56dc
  1. 4
      src/components/chat/bubbles.ts

4
src/components/chat/bubbles.ts

@ -963,7 +963,9 @@ export default class ChatBubbles { @@ -963,7 +963,9 @@ export default class ChatBubbles {
this.setHoverVisible(hoverReaction, true);
}, {once: true});
attachClickEvent(hoverReaction, () => {
attachClickEvent(hoverReaction, (e) => {
cancelEvent(e); // cancel triggering selection
this.appReactionsManager.sendReaction(message, availableReaction.reaction);
this.unhoverPrevious();
}, {listenerSetter: this.listenerSetter});

Loading…
Cancel
Save