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 +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/Input/Input.tsx +1 -1
- package/package.json +5 -5
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]);
|