[FIX] Stop mention tracking when messagebox is empty (#957)
This commit is contained in:
parent
b28d79e644
commit
bd9f4aa219
|
@ -199,6 +199,8 @@ class MessageBox extends Component {
|
||||||
}
|
}
|
||||||
const [, lastChar, name] = result;
|
const [, lastChar, name] = result;
|
||||||
this.identifyMentionKeyword(name, lastChar);
|
this.identifyMentionKeyword(name, lastChar);
|
||||||
|
} else {
|
||||||
|
this.stopTrackingMention();
|
||||||
}
|
}
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue