Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5ff810b

Browse files
authored
Fix room list treeview filtering not ignoring modifier keys (#7231)
1 parent 5c895bf commit 5ff810b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/structures/LeftPanel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ export default class LeftPanel extends React.Component<IProps, IState> {
306306
};
307307

308308
private onRoomListKeydown = (ev: React.KeyboardEvent) => {
309+
if (ev.altKey || ev.ctrlKey || ev.metaKey) return;
309310
// we cannot handle Space as that is an activation key for all focusable elements in this widget
310311
if (ev.key.length === 1) {
311312
ev.preventDefault();

0 commit comments

Comments
 (0)