From 2d88e90dfd6062528e947d166839d86d0d0c07dc Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Mon, 3 Feb 2025 14:12:22 +0530 Subject: [PATCH] fix storybook --- app/client/packages/design-system/ads/src/Select/Select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/packages/design-system/ads/src/Select/Select.tsx b/app/client/packages/design-system/ads/src/Select/Select.tsx index ac1b559956f..79314c1b5a8 100644 --- a/app/client/packages/design-system/ads/src/Select/Select.tsx +++ b/app/client/packages/design-system/ads/src/Select/Select.tsx @@ -57,7 +57,7 @@ function Select(props: SelectProps) { if (open) { // this is a hack to get the search input to focus when the dropdown is opened // the reason is, rc-select does not support putting the search input in the dropdown - // and rc-select focus its native input element on dropdown open, but we need to focus the search input + // and rc-select focus its native searchinput element on dropdown open, but we need to focus the search input // so we use a timeout to focus the search input after the dropdown is opened setTimeout(() => { if (!searchRef.current) return;