From 1cf83da73f573fdd3a4b69c33cb2fe82b70cc1b1 Mon Sep 17 00:00:00 2001 From: CuriousCorrelation Date: Sun, 10 Jul 2022 20:07:21 +0530 Subject: [PATCH] Remove `onFocus` Has no adverse effects so far, fingers crossed --- app/components/PaginatedDropdown.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/components/PaginatedDropdown.tsx b/app/components/PaginatedDropdown.tsx index 4043412adf..914493a400 100644 --- a/app/components/PaginatedDropdown.tsx +++ b/app/components/PaginatedDropdown.tsx @@ -82,8 +82,6 @@ const PaginatedDropdown = ({ setFilteredData(options); }, [options, selectedLabel]); - const handleOnFocus = () => {}; - return ( @@ -94,7 +92,7 @@ const PaginatedDropdown = ({ )} - +
{/* A bit hacky but this creates just enough space for search box. Now absolute position works without first element getting stuck behind it.