cloud-ide-element 1.0.18 → 1.0.20

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.
@@ -4567,13 +4567,15 @@ class CideEleDropdownComponent {
4567
4567
  }
4568
4568
  closeDropdown() {
4569
4569
  console.log('🔵 closeDropdown called, setting isOpen to false');
4570
- this.isOpen.set(false);
4571
- // Destroy portal if it exists
4572
- if (this.config.usePortal) {
4573
- this.destroyPortalDropdown();
4574
- }
4575
- this.dropdownManager.unregisterDropdown(this.dropdownId);
4576
- this.dropdownToggle.emit(false);
4570
+ setTimeout(() => {
4571
+ this.isOpen.set(false);
4572
+ // Destroy portal if it exists
4573
+ if (this.config.usePortal) {
4574
+ this.destroyPortalDropdown();
4575
+ }
4576
+ this.dropdownManager.unregisterDropdown(this.dropdownId);
4577
+ this.dropdownToggle.emit(false);
4578
+ }, 100);
4577
4579
  }
4578
4580
  getItemClasses(item) {
4579
4581
  const baseClasses = 'tw-flex tw-items-center tw-w-full tw-px-3 tw-py-2 tw-text-sm tw-transition-colors tw-duration-150';