We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Android
1 parent 20741de commit dd0a9d7Copy full SHA for dd0a9d7
ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java
@@ -383,8 +383,6 @@ public String getReturnKeyType() {
383
@Override
384
public void setInputType(int type) {
385
Typeface tf = super.getTypeface();
386
- // Input type password defaults to monospace font, so we need to re-apply the font
387
- super.setTypeface(tf);
388
389
int inputType = type;
390
@@ -401,6 +399,8 @@ public void setInputType(int type) {
401
399
402
400
super.setInputType(inputType);
403
mStagedInputType = inputType;
+ // Input type password defaults to monospace font, so we need to re-apply the font
+ super.setTypeface(tf);
404
405
/**
406
* If set forces multiline on input, because of a restriction on Android source that enables
0 commit comments