Remove orphaned code

This commit is contained in:
Cory LaViska
2023-01-03 15:09:57 -05:00
parent fc0541ce53
commit ad305fb653

View File

@@ -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);
}
}
}