mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
fix formatBar not hidden after highlight-backspacing text partially
This commit is contained in:
parent
5986bbc561
commit
c95b23f3ec
@ -447,6 +447,8 @@ export default class BasicMessageEditor extends React.Component {
|
||||
} else if (event.key === Key.TAB) {
|
||||
this._tabCompleteName();
|
||||
handled = true;
|
||||
} else if (event.key === Key.BACKSPACE) {
|
||||
this._formatBarRef.hide();
|
||||
}
|
||||
}
|
||||
if (handled) {
|
||||
|
Loading…
Reference in New Issue
Block a user