mirror of
https://github.com/element-hq/element-web
synced 2024-10-25 12:16:00 +03:00
fix formatBar not hidden after highlight-backspacing text partially
This commit is contained in:
parent
5986bbc561
commit
c95b23f3ec
1 changed files with 2 additions and 0 deletions
|
@ -447,6 +447,8 @@ export default class BasicMessageEditor extends React.Component {
|
||||||
} else if (event.key === Key.TAB) {
|
} else if (event.key === Key.TAB) {
|
||||||
this._tabCompleteName();
|
this._tabCompleteName();
|
||||||
handled = true;
|
handled = true;
|
||||||
|
} else if (event.key === Key.BACKSPACE) {
|
||||||
|
this._formatBarRef.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (handled) {
|
if (handled) {
|
||||||
|
|
Loading…
Reference in a new issue