From fe59055fc31edbd6a4fb2ec8f98a2f4ec49ba198 Mon Sep 17 00:00:00 2001 From: AJ Kovalainen Date: Tue, 25 Sep 2018 13:39:41 +0300 Subject: [PATCH] [react-select] Allow removing tabIndex react-select sets input element's tabindex to 0 by default, setting tabIndex={null} will remove it --- types/react-select/lib/Select.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-select/lib/Select.d.ts b/types/react-select/lib/Select.d.ts index aa8524103e..f6e5eba96e 100644 --- a/types/react-select/lib/Select.d.ts +++ b/types/react-select/lib/Select.d.ts @@ -194,7 +194,7 @@ export interface Props { /* Style modifier methods */ styles?: StylesConfig; /* Sets the tabIndex attribute on the input */ - tabIndex?: string; + tabIndex?: string | null; /* Select the currently focused option when the user presses tab */ tabSelectsValue?: boolean; /* The value of the select; reflected by the selected option */