diff --git a/src/mapError.js b/src/mapError.js index caeb56c..03c340c 100755 --- a/src/mapError.js +++ b/src/mapError.js @@ -13,8 +13,12 @@ const mapError = ({ } : { ...input, ...props } - if (touched && hasHelperText && (error || warning)) { - errorProps.helperText = error || warning + if (hasHelperText) { + if (touched && (error || warning)) { + errorProps.helperText = error || warning + } else { + errorProps.helperText = ' ' // Reserve vertical space for a future error/warning. + } } return errorProps