@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.
@@ -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
- e.stopImmediatePropagation();
2667
- if (previousRootComponentValue !== this.value) {
2668
- previousRootComponentValue = this.value;
2669
- createDispatchEvent.call(this, 'input', { bubbles: true });
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
  }