Skip to content

Commit

Permalink
Close WhoDropdown if user click SearchDropdown and WhoDropdown is opened
Browse files Browse the repository at this point in the history
  • Loading branch information
grabinskij committed Dec 9, 2024
1 parent 346aba7 commit 95445a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/SearchBar/SearchBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ const SearchBar = ({ searchType, onSearch }) => {
onClick={(e) => {
e.stopPropagation()
handleSearch()
setShowWhoDropdown(false)
}}
className={styles.circleButton}
>
Expand Down

0 comments on commit 95445a3

Please sign in to comment.