Skip to content

Commit f56d621

Browse files
The password text entry and Hide/Show button overlap for long passwords zulip#5614
input type password can help this issue
1 parent 705c0b0 commit f56d621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/PasswordInput.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ export default function PasswordInput(props: Props): Node {
4545

4646
return (
4747
<View>
48-
<Input {...props} secureTextEntry={isHidden} autoCorrect={false} autoCapitalize="none" />
48+
<Input {...props} secureTextEntry={isHidden} autoCorrect={false} autoCapitalize="none" type="password"/>
4949
<Touchable style={styles.showPasswordButton} onPress={handleShow}>
5050
<ZulipTextIntl style={styles.showPasswordButtonText} text={isHidden ? 'show' : 'hide'} />
5151
</Touchable>
52+
5253
</View>
5354
);
5455
}

0 commit comments

Comments
 (0)