@descope/web-components-ui 1.0.405 → 1.0.406
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/cjs/index.cjs.js +8 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4619.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +0 -1
- package/src/mixins/inputEventsDispatchingMixin.js +8 -4
package/dist/cjs/index.cjs.js
CHANGED
@@ -2663,10 +2663,14 @@ const inputEventsDispatchingMixin = (superclass) =>
|
|
2663
2663
|
// we are comparing the previous value to the new one,
|
2664
2664
|
// and if they have the same value, we are blocking the input event
|
2665
2665
|
this.addEventListener('input', (e) => {
|
2666
|
-
|
2667
|
-
if (
|
2668
|
-
|
2669
|
-
|
2666
|
+
// We don't want to block our own event that we fire from handleInputEventDispatching
|
2667
|
+
if (this !== e.target) {
|
2668
|
+
e.stopImmediatePropagation();
|
2669
|
+
|
2670
|
+
if (previousRootComponentValue !== this.value) {
|
2671
|
+
previousRootComponentValue = this.value;
|
2672
|
+
createDispatchEvent.call(this, 'input', { bubbles: true, composed: true });
|
2673
|
+
}
|
2670
2674
|
}
|
2671
2675
|
});
|
2672
2676
|
}
|