Skip to content

Commit

Permalink
implement hiding on blur when filter box is in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lagrimas committed Sep 26, 2023
1 parent 9f97fad commit ecd119d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/pages/search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,12 @@ export default function Search() {
)}
</div>
</div>
<div
className={`fixed top-0 right-0 backdrop-blur-none h-full w-full ${
hideFilters ? "hidden" : "z-20"
}`}
onClick={() => setHideFilters(true)}
/>
{loadingResults ? (
<LoadingOverlay message="Search results loading..." />
) : null}
Expand Down

0 comments on commit ecd119d

Please sign in to comment.