kopia lustrzana https://github.com/shoelace-style/shoelace
Remove orphaned code
rodzic
fc0541ce53
commit
ad305fb653
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue