kopia lustrzana https://github.com/shoelace-style/shoelace
Prevent text selection when select is focused
rodzic
89cce4bbb8
commit
3e0f174052
|
@ -146,6 +146,7 @@ export class Select {
|
|||
handleFocus() {
|
||||
this.hasFocus = true;
|
||||
this.slFocus.emit();
|
||||
this.input.setSelectionRange(0, 0);
|
||||
}
|
||||
|
||||
handleKeyDown(event: KeyboardEvent) {
|
||||
|
|
Ładowanie…
Reference in New Issue