Fix multiselect mousemove with activated selection
This commit is contained in:
parent
89d05c5795
commit
874b45cafa
@ -90,7 +90,8 @@ export default class ChatSelection {
|
||||
const mid = +bubble.dataset.mid;
|
||||
if(!mid) return;
|
||||
|
||||
if(e.target != bubble && selecting === undefined) {
|
||||
// * cancel selecting if selecting message text
|
||||
if(e.target != bubble && selecting === undefined && !this.selectedMids.size) {
|
||||
bubblesContainer.removeEventListener('mousemove', onMouseMove);
|
||||
document.removeEventListener('mouseup', onMouseUp);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user