Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed May 7, 2024
1 parent 5606eb7 commit beb02f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/atoms/MenuList/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit beb02f1

Please sign in to comment.