intl-tel-input 28.0.7 → 28.0.8

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.
@@ -4108,8 +4108,12 @@ var Iti = class _Iti {
4108
4108
  });
4109
4109
  this.#ui.telInputEl.dispatchEvent(e);
4110
4110
  }
4111
- //* Open the dropdown.
4111
+ //* Open the dropdown. Bail if already open — otherwise the existing AbortController gets overwritten
4112
+ //* and its listeners leak. Reachable via openDropdownWithPlus when dropdownAlwaysOpen is set
4112
4113
  #openDropdown() {
4114
+ if (this.#ui.isDropdownOpen()) {
4115
+ return;
4116
+ }
4113
4117
  this.#ui.openDropdown(
4114
4118
  (li) => this.#selectListItem(li),
4115
4119
  () => this.#closeDropdown()
@@ -4714,7 +4718,7 @@ var intlTelInput = Object.assign(
4714
4718
  attachUtils,
4715
4719
  startedLoadingUtils: false,
4716
4720
  startedLoadingAutoCountry: false,
4717
- version: "28.0.7",
4721
+ version: "28.0.8",
4718
4722
  NUMBER_FORMAT,
4719
4723
  NUMBER_TYPE,
4720
4724
  VALIDATION_ERROR
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "28.0.7",
3
+ "version": "28.0.8",
4
4
  "description": "A JavaScript library for entering, formatting, and validating international telephone numbers",
5
5
  "type": "module",
6
6
  "license": "MIT",