utopia-ui 3.0.0-alpha.55 → 3.0.0-alpha.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2240,8 +2240,7 @@ var SearchControl = function (_a) {
2240
2240
  var resetFilterTags = useResetFilterTags();
2241
2241
  var filterTags = useFilterTags();
2242
2242
  useMapEvents({
2243
- popupopen: function (e) {
2244
- console.log(e);
2243
+ popupopen: function () {
2245
2244
  setPopupOpen(true);
2246
2245
  },
2247
2246
  popupclose: function () {
@@ -2288,7 +2287,7 @@ var SearchControl = function (_a) {
2288
2287
  });
2289
2288
  }); };
2290
2289
  var searchInput = useRef(null);
2291
- return (React.createElement(React.Fragment, null, !(windowDimensions.height < 500 && popupOpen) &&
2290
+ return (React.createElement(React.Fragment, null, !(windowDimensions.height < 500 && popupOpen && hideSuggestions) &&
2292
2291
  React.createElement("div", { className: 'tw-w-[calc(100vw-2rem)] tw-max-w-[22rem] ' },
2293
2292
  React.createElement("div", { className: 'flex tw-flex-row' },
2294
2293
  React.createElement("input", { type: "text", placeholder: "search ...", autoComplete: "off", value: value, className: "tw-input tw-input-bordered tw-w-full tw-shadow-xl tw-rounded-lg tw-mr-2", ref: searchInput, onChange: function (e) { return setValue(e.target.value); }, onFocus: function () { return setHideSuggestions(false); }, onBlur: function () { return hide(); } }),