From beb02f16a02d6602da7c9877b1c3146b4cb28ddc Mon Sep 17 00:00:00 2001 From: koji Date: Tue, 7 May 2024 12:14:05 -0400 Subject: [PATCH] address feedback --- app/src/atoms/MenuList/DropdownMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/atoms/MenuList/DropdownMenu.tsx b/app/src/atoms/MenuList/DropdownMenu.tsx index 3738dce0536..6b5eecdf40a 100644 --- a/app/src/atoms/MenuList/DropdownMenu.tsx +++ b/app/src/atoms/MenuList/DropdownMenu.tsx @@ -102,7 +102,7 @@ export function DropdownMenu(props: DropdownMenuProps): JSX.Element { window.removeEventListener('resize', handlePositionCalculation) window.removeEventListener('scroll', handlePositionCalculation) } - }, [filterOptions.length]) + }, [filterOptions.length, window.innerHeight]) const toggleSetShowDropdownMenu = (): void => { setShowDropdownMenu(!showDropdownMenu)