You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix spotlight cmd-k wrongly expanding left panel (#7463)
This commit is contained in:
committed by
GitHub
parent
6eea416e7e
commit
ea7ac453bc
@@ -794,6 +794,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
});
|
||||
break;
|
||||
case 'focus_room_filter': // for CtrlOrCmd+K to work by expanding the left panel first
|
||||
if (SettingsStore.getValue("feature_spotlight")) break; // don't expand if spotlight enabled
|
||||
// fallthrough
|
||||
case 'show_left_panel':
|
||||
this.setState({
|
||||
collapseLhs: false,
|
||||
|
||||
Reference in New Issue
Block a user