improve comment

pull/21833/head
Michael Telatynski 2019-12-17 14:36:20 +00:00
parent 213bc4c3ac
commit 0e86c2648d
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ export default class Field extends React.PureComponent {
allowEmpty,
});
// this method is async and we may have been blurred since validate was called so check
// this method is async and so we may have been blurred since the method was called
// if we have then hide the feedback as withValidation does
if (this.state.focused && feedback) {
this.setState({
valid,