@descope/web-components-ui 2.2.11 → 2.2.12

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.
@@ -6221,6 +6221,13 @@ class EnrichedText extends createBaseClass$1({ componentName: componentName$16,
6221
6221
  this.#initProcessor();
6222
6222
 
6223
6223
  observeChildren(this, this.#parseChildren.bind(this));
6224
+
6225
+ // Stop propagation on link clicks to prevent parent handlers from firing
6226
+ this.contentNode?.addEventListener('click', (e) => {
6227
+ if (e.target instanceof HTMLAnchorElement) {
6228
+ e.stopPropagation();
6229
+ }
6230
+ });
6224
6231
  }
6225
6232
 
6226
6233
  static get observedAttributes() {