fix for field marker issue by getting rid of the anchor for the menu when opening the settings
This commit is contained in:
parent
446147d4d5
commit
631b7c7934
1 changed files with 6 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue