@electral-io/webspa 1.0.1 → 1.0.2

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
@@ -24880,6 +24880,11 @@ let $52212022f33a16f5$export$8f16e9c3e7703006 = class MapSearchComponent extends
24880
24880
  });
24881
24881
  this._dropDownResults = new (0, $4eb86fb8e262138f$export$931cbfb6bfb85fc)(resultList, 'parent');
24882
24882
  this.appendChildren(topRow, this._dropDownResults);
24883
+ icon.addEventListener('click', ()=>{
24884
+ const expanded = this.classList.toggle('expanded');
24885
+ if (expanded) this._textBox.focus();
24886
+ else this._dropDownResults.visible = false;
24887
+ });
24883
24888
  cmb.onValueChanged.register(()=>{
24884
24889
  var _a;
24885
24890
  const key = cmb.value;