From 332249e29d9ff8f3853367757cc25a3faac965b1 Mon Sep 17 00:00:00 2001 From: Mirlan Date: Mon, 29 Jun 2020 20:48:33 +0600 Subject: [PATCH] fix(#170): open countries popup on input focus (#18) --- src/features/Combobox/index.tsx | 3 ++- src/features/Combobox/types.tsx | 1 + .../RegistrationStep/hooks/useCountries.tsx | 12 ++++++++---- .../Register/components/RegistrationStep/index.tsx | 1 + 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/features/Combobox/index.tsx b/src/features/Combobox/index.tsx index 13f8693f..6bdd71f7 100644 --- a/src/features/Combobox/index.tsx +++ b/src/features/Combobox/index.tsx @@ -23,6 +23,7 @@ export const Combobox = (props: Props) => { id, label, labelWidth, + openOnFocus, pattern, required, } = props @@ -37,7 +38,7 @@ export const Combobox = (props: Props) => { } = useCombobox(props) return ( - +