Norway


Please find my below ionic info command

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

packages:

Cordova CLI : 7.0.1

local packages:

@ionic/-scripts : 1.3.
Cordova Platforms  : android 6.2.3  4.4.0
Ionic Framework    : ionic- 3.5.0

System:

ios-deploy : 1.9.2
Node       : v6.11.2
npm        : 3.10.10
OS         : macOS High Sierra
Xcode      : Xcode 9.0 Build version 9A2

here is my code.

<div style="position: absolute; bottom: 0px;">
        <img src="http://stackoverflow.com/assets/login/welcome_login_bg.png" />
        <ion-list style="position: initial">
            <form [formGroup]="loginForm">
                <ion-item no-padding class="firstItem">
                    <ion-input [(ngModel)]="username" formControlName="username" type="email" spellcheck="false" autocapitalize="off">
                    </ion-input>
                </ion-item>
                <ion-item no-padding class="borderlineremove">
                    <ion-input [(ngModel)]="password" formControlName="password" clearOnEdit="false" type="password" spellcheck="false" autocapitalize="off">
                    </ion-input>
                </ion-item>
                <button class="loginForm" ion-button (click)="validateUser()" full color="danger">
                  <b>Sign In</b>
                </button>
                <ion-row>
                    <div class="forgotPwd"><span (click)="forGotPwd()">Forgot Password?</span></div>
                    <div class="signUp"><span (click)="registration()">Sign Up</span></div>
                </ion-row>
            </form>
        </ion-list>
    </div>

Issue:

When i focus on the keyboard i am not able to move the form above the keyboard until some input is given but in android everything works fine.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here