Skip to content

Commit

Permalink
Merge pull request #1477 from cityofaustin/utopia-click-fix
Browse files Browse the repository at this point in the history
Remove click listener
  • Loading branch information
chiaberry authored Nov 7, 2024
2 parents 01a3e5a + 78bce30 commit 8958388
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions moped-editor/src/components/GridTable/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
Grid,
Paper,
Popper,
ClickAwayListener,
} from "@mui/material";
import FormControlLabel from "@mui/material/FormControlLabel";
import FormGroup from "@mui/material/FormGroup";
Expand Down Expand Up @@ -245,20 +244,18 @@ const Search = ({
placement={"bottom"}
className={classes.advancedSearchRoot}
>
<ClickAwayListener onClickAway={handleAdvancedSearchClose}>
<Paper className={classes.advancedSearchPaper}>
<Filters
setFilters={setFilters}
handleAdvancedSearchClose={handleAdvancedSearchClose}
filtersConfig={filtersConfig}
resetSimpleSearch={resetSimpleSearch}
isOr={isOr}
setIsOr={setIsOr}
setSearchParams={setSearchParams}
searchParams={searchParams}
/>
</Paper>
</ClickAwayListener>
<Paper className={classes.advancedSearchPaper}>
<Filters
setFilters={setFilters}
handleAdvancedSearchClose={handleAdvancedSearchClose}
filtersConfig={filtersConfig}
resetSimpleSearch={resetSimpleSearch}
isOr={isOr}
setIsOr={setIsOr}
setSearchParams={setSearchParams}
searchParams={searchParams}
/>
</Paper>
</Popper>
</div>
);
Expand Down

0 comments on commit 8958388

Please sign in to comment.