x-ui-design 1.0.17 → 1.0.20

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
@@ -3895,7 +3895,7 @@ const InputComponent = ({
3895
3895
  inputRef.current.setSelectionRange(start, end);
3896
3896
  }
3897
3897
  }
3898
- }), []);
3898
+ }), [inputRef]);
3899
3899
  useEffect(() => {
3900
3900
  setMaskValue(mask ? applyMask(stripMask(`${value ?? ''}`, mask, maskChar), mask, maskChar).masked : value ?? '');
3901
3901
  }, [value, mask, maskChar]);