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>
|
</Grid>
|
||||||
<Grid size={3}>
|
<Grid size={3}>
|
||||||
<Button style={{ margin: "auto" }} onClick={() => setOpenFMSettings(true)}>
|
<Button
|
||||||
|
style={{ margin: "auto" }}
|
||||||
|
onClick={() => {
|
||||||
|
setOpenFMSettings(true)
|
||||||
|
setAnchorFieldMarker(null)
|
||||||
|
}}>
|
||||||
<Edit />
|
<Edit />
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue