Skip to content

Commit

Permalink
stop search filter from closing every selection
Browse files Browse the repository at this point in the history
  • Loading branch information
omkrpt committed Jan 9, 2025
1 parent ed74b59 commit 45ebfe7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/searchFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const SearchFilters = ({ filters, updateFilter, filtersCollapsed, setFiltersColl
placeholder="Subject..."
styles={instructorStyles}
value={filters.subjects}
closeMenuOnSelect={false}
onChange={(value) => updateFilter('subjects', value)}
/>

Expand All @@ -67,6 +68,7 @@ const SearchFilters = ({ filters, updateFilter, filtersCollapsed, setFiltersColl
placeholder="Semester..."
styles={instructorStyles}
value={filters.semesters}
closeMenuOnSelect={false}
onChange={(value) => updateFilter('semesters', value)}
/>

Expand All @@ -79,6 +81,7 @@ const SearchFilters = ({ filters, updateFilter, filtersCollapsed, setFiltersColl
placeholder="Gen Ed..."
styles={instructorStyles}
value={filters.genEds}
closeMenuOnSelect={false}
onChange={(value) => updateFilter('genEds', value)}
/>

Expand Down

0 comments on commit 45ebfe7

Please sign in to comment.