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.
- package/dist/js/data.js +1 -1
- package/dist/js/data.min.js +1 -1
- package/dist/js/intlTelInput.js +7 -3
- package/dist/js/intlTelInput.min.js +2 -2
- package/dist/js/intlTelInput.mjs +6 -2
- package/dist/js/intlTelInputWithUtils.js +7 -3
- package/dist/js/intlTelInputWithUtils.min.js +2 -2
- package/dist/js/intlTelInputWithUtils.mjs +6 -2
- package/package.json +1 -1
|
@@ -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.
|
|
4721
|
+
version: "28.0.8",
|
|
4718
4722
|
NUMBER_FORMAT,
|
|
4719
4723
|
NUMBER_TYPE,
|
|
4720
4724
|
VALIDATION_ERROR
|