@descope/web-components-ui 1.0.164 → 1.0.165

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -2356,7 +2356,7 @@ customElements.define(componentName$e, NumberFieldClass);
2356
2356
 
2357
2357
  const focusElement = (ele) => {
2358
2358
  ele?.focus();
2359
- ele?.setSelectionRange(1, 1);
2359
+ ele?.setSelectionRange?.(1, 1);
2360
2360
  };
2361
2361
 
2362
2362
  const getSanitizedCharacters = (str) => {