fix some firefox mobile issue

This commit is contained in:
Anton Tranelis 2024-01-30 21:32:32 +01:00
parent 4c56901a6e
commit 5772cbf1d8

View File

@ -82,6 +82,8 @@ export const SearchControl = ({ clusterRef }) => {
onChange={(e) => setValue(e.target.value)}
onFocus={() => {
setHideSuggestions(false);
console.log(windowDimensions.width);
if(windowDimensions.width < 500) map.closePopup();
}}
onBlur={() => hide()} />