Remove orphaned code

pull/1102/head
Cory LaViska 2023-01-03 15:09:57 -05:00
rodzic fc0541ce53
commit ad305fb653
1 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -266,12 +266,6 @@ export default class SlDropdown extends ShoelaceElement {
});
}
}
// Other keys bring focus to the menu and initiate type-to-select behavior
const ignoredKeys = ['Tab', 'Shift', 'Meta', 'Ctrl', 'Alt'];
if (this.open && !ignoredKeys.includes(event.key)) {
menu.typeToSelect(event);
}
}
}