Skip to content

Instantly share code, notes, and snippets.

@Jun711
Created October 3, 2017 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jun711/5f5daaf8d783333954071ce52b70aed2 to your computer and use it in GitHub Desktop.
Save Jun711/5f5daaf8d783333954071ce52b70aed2 to your computer and use it in GitHub Desktop.
Ion-content being pushed up by keyboard
<ion-header>
<ion-navbar class="show-navbar android-attr" color="primary">
<ion-title>Phone Verificatio</ion-title>
</ion-navbar>
</ion-header>
<ion-content text-center no-bounce class="no-scroll">
<ion-list class="no-scroll">
<ion-toolbar color="secondary">
<button ion-button clear (click)="openCountryList()" color="light">
<ion-icon name="arrow-dropdown" style="padding-right:1rem"></ion-icon>
<img src="assets/world-countries/{{geoLocale.cca3 | lowercase}}.svg" height="16" style="padding-right:1rem">
{{geoLocale.name.common}}
</button>
</ion-toolbar>
<ion-item no-lines>
<ion-label><h2>Phone Number</h2></ion-label>
</ion-item>
<ion-item>
<ion-input type="tel" placeholder="Phone Number" autocomplete="off" autocorrect="off"> </ion-input>
</ion-item>
<button ion-button icon-right (click)="startRegistration()" large clear>
Verify
<ion-icon name="arrow-forward"></ion-icon>
</button>
</ion-list>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment