You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +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