intelicoreact 0.2.18 → 0.2.19
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.
|
@@ -1177,7 +1177,7 @@ function InputMask() {
|
|
|
1177
1177
|
}, [isFocusedDefault, isMaskRendered]); // OnChange Observer
|
|
1178
1178
|
|
|
1179
1179
|
(0, _react.useEffect)(function () {
|
|
1180
|
-
if (!isMaskRendered) return false;
|
|
1180
|
+
if (!isMaskRendered || !isFocused) return false;
|
|
1181
1181
|
setError(false);
|
|
1182
1182
|
clearErrorMessage();
|
|
1183
1183
|
var values = [getClearInnerValueAsString(), getInnerValueAsString({
|