I am working on an app that I need users to sign in. I have implemented Firebase as usual.
The behaviour on android device is very weird. Here is my login.html:
<ion-item> <ion-label floating>Email</ion-label> <ion-input type="email" [(ngModel)]="email"></ion-input> </ion-item> <ion-item> <ion-label floating>Contraseña</ion-label> <ion-input type="password" [(ngModel)]="password"></ion-input> </ion-item> <ion-item id="loginbutton"> <button ion-button type="submit" block (click)="loginUser()">Iniciar sesión</button> </ion-item>
The behaviour on Android outputs an error if you submit immediately after typing the password.
With the input type password you can see the last character you entered for a few seconds, if you submit before that last character obfuscates, it seems like it submits everything except the last character and its obviously wrong credentials.
If I wait for a bit and submit when all the characters are bullet points, it logs in fine.
How can I make it work?