intl-tel-input 29.5.0 → 29.5.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/js/data.js +1 -1
- package/dist/js/data.min.js +1 -1
- package/dist/js/intlTelInput.js +11 -12
- package/dist/js/intlTelInput.min.js +2 -2
- package/dist/js/intlTelInput.mjs +10 -11
- package/dist/js/intlTelInputWithUtils.js +11 -12
- package/dist/js/intlTelInputWithUtils.min.js +2 -2
- package/dist/js/intlTelInputWithUtils.mjs +10 -11
- package/package.json +1 -1
|
@@ -3227,16 +3227,15 @@ var UI = class {
|
|
|
3227
3227
|
}
|
|
3228
3228
|
if (this.#options.countrySelectorMode === COUNTRY_SELECTOR_MODE.FULLSCREEN && this.#detachedCountrySelectorEl && window.visualViewport) {
|
|
3229
3229
|
this.#adjustFullscreenPopupToViewport();
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
()
|
|
3233
|
-
this.#
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
);
|
|
3230
|
+
const onViewportResize = () => {
|
|
3231
|
+
this.#adjustFullscreenPopupToViewport();
|
|
3232
|
+
if (this.#highlightedListItemEl) {
|
|
3233
|
+
this.#scrollCountryListToItem(this.#highlightedListItemEl);
|
|
3234
|
+
}
|
|
3235
|
+
};
|
|
3236
|
+
const { signal } = this.#countrySelectorAbortController;
|
|
3237
|
+
window.visualViewport.addEventListener("resize", onViewportResize, { signal });
|
|
3238
|
+
window.addEventListener("resize", onViewportResize, { signal });
|
|
3240
3239
|
}
|
|
3241
3240
|
this.#arrowEl.classList.add(CLASSES.ARROW_UP);
|
|
3242
3241
|
this.#bindCountrySelectorOpenListeners(onSelect, onClose);
|
|
@@ -5014,7 +5013,7 @@ var intlTelInput = Object.assign(
|
|
|
5014
5013
|
attachUtils,
|
|
5015
5014
|
startedLoadingUtils: false,
|
|
5016
5015
|
startedLoadingAutoCountry: false,
|
|
5017
|
-
version: "29.5.
|
|
5016
|
+
version: "29.5.2",
|
|
5018
5017
|
NUMBER_FORMAT,
|
|
5019
5018
|
NUMBER_TYPE,
|
|
5020
5019
|
VALIDATION_ERROR,
|