fix for field marker issue by getting rid of the anchor for the menu when opening the settings

This commit is contained in:
csawatzky 2025-05-08 16:04:24 -06:00
parent 446147d4d5
commit 631b7c7934

View file

@ -703,7 +703,12 @@ import { Result } from "@mapbox/mapbox-gl-geocoder";
</Grid>
</Grid>
<Grid size={3}>
<Button style={{ margin: "auto" }} onClick={() => setOpenFMSettings(true)}>
<Button
style={{ margin: "auto" }}
onClick={() => {
setOpenFMSettings(true)
setAnchorFieldMarker(null)
}}>
<Edit />
</Button>
</Grid>