Second attempt to better hide the popup overlay when not shown...

This commit is contained in:
Eric van der Vlist 2023-02-06 14:56:39 +01:00
parent 0c6e497648
commit a458b82dc1
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ const Finder: Component<Props> = (props) => {
<TextField onChange={searchStringChangeHandler} />
</Box>
</Dialog>
<div class={style.ol_popup} ref={popupElement}>
<div class={style.ol_popup + ' ol_popup'} ref={popupElement}>
<a
href='#'
onclick={popupCloseHandler}

View File

@ -1,3 +1,3 @@
.ol-map .ol_popup {
.ol-map > .ol_popup {
visibility: hidden;
}