Skip to content

Commit

Permalink
Merge pull request #5789 from Expensify/joe-deactivate-label
Browse files Browse the repository at this point in the history
Only deactivate label if field isn't focused
  • Loading branch information
Jag96 authored Oct 12, 2021
2 parents 8418368 + 0a911ac commit 786223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ExpensiTextInput/BaseExpensiTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class BaseExpensiTextInput extends Component {

if (this.props.value) {
this.activateLabel();
} else {
} else if (!this.state.isFocused) {
this.deactivateLabel();
}
}
Expand Down

0 comments on commit 786223d

Please sign in to comment.