@descope/web-components-ui 1.0.302 → 1.0.303

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/index.esm.js CHANGED
@@ -3536,9 +3536,9 @@ let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName:
3536
3536
 
3537
3537
  onReadOnlyChange(isReadOnly) {
3538
3538
  if (isReadOnly) {
3539
- this.setAttribute('inert', isReadOnly);
3539
+ this.contentNode.setAttribute('inert', isReadOnly);
3540
3540
  } else {
3541
- this.removeAttribute('inert');
3541
+ this.contentNode.removeAttribute('inert');
3542
3542
  }
3543
3543
  }
3544
3544
  };