From 3e0f1740520297eb6fb6dd634f2000739e4a34be Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Fri, 24 Jul 2020 09:25:41 -0400 Subject: [PATCH] Prevent text selection when select is focused --- src/components/select/select.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/select/select.tsx b/src/components/select/select.tsx index a1d8417d3..e64942c38 100644 --- a/src/components/select/select.tsx +++ b/src/components/select/select.tsx @@ -146,6 +146,7 @@ export class Select { handleFocus() { this.hasFocus = true; this.slFocus.emit(); + this.input.setSelectionRange(0, 0); } handleKeyDown(event: KeyboardEvent) {