mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix some firefox mobile issue
This commit is contained in:
parent
4c56901a6e
commit
5772cbf1d8
@ -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()} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user