You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
fix formatBar not hidden after highlight-backspacing text partially
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user