05-28-2019 07:28 AM
05-29-2019 07:12 AM
05-29-2019 10:51 AM
05-31-2019 04:34 AM
05-31-2019 07:10 AM
yunhan0 said:
Yes, it's better to write a customised input field to get rid of this problem.
VR UIKit has a virtual keyboard that could work with their customised input field. I've tested it, and it works like a charm.
05-31-2019 09:37 AM
06-03-2019 07:09 PM
06-24-2019 12:47 AM
07-11-2019 05:42 AM
07-11-2019 08:09 AM
<form>
<input type="email" placeholder="Your Email" [disabled]="isSubmitting"/>
<input type="password" placeholder="Your Password" [disabled]="isSubmitting"/>
<button [disabled]="isSubmitting" (click)="submitForm($event)">LOG IN</button>
</form>
<script>
submitForm(event: any): void {
var elem = event.target;
elem.focus(); // If a form field, draw focus to the submitBtn so the soft keyboard will close
elem.blur(); // Blur the standalone field so the soft keyboard will close or
// remove highlight from the submitBtn
isSubmitting = true;
//...
}
</script>