@brickclay-org/ui 0.0.98 → 0.0.99

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.
@@ -6547,10 +6547,13 @@ class BkHierarchicalSelect {
6547
6547
  this.closeDropdown();
6548
6548
  }
6549
6549
  closeDropdown() {
6550
+ const wasOpen = this.isOpen();
6550
6551
  this.isOpen.set(false);
6551
6552
  this.searchTerm.set('');
6552
6553
  this.breadcrumb.set([]);
6553
- this.onTouched();
6554
+ if (wasOpen) {
6555
+ this.onTouched();
6556
+ }
6554
6557
  }
6555
6558
  goBack() {
6556
6559
  const stack = this.breadcrumb();