mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(keyboard): improve keyboard scroll assist
This commit is contained in:
@ -2,6 +2,13 @@ import {App} from 'ionic/ionic';
|
||||
|
||||
|
||||
@App({
|
||||
templateUrl: 'main.html'
|
||||
templateUrl: 'main.html',
|
||||
config: {
|
||||
scrollAssist: true
|
||||
}
|
||||
})
|
||||
class E2EApp {}
|
||||
class E2EApp {
|
||||
reload() {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,12 @@
|
||||
|
||||
<ion-toolbar><ion-title>Input Focus</ion-title></ion-toolbar>
|
||||
<ion-navbar>
|
||||
<ion-title>Inset Focus</ion-title>
|
||||
<ion-nav-items secondary>
|
||||
<button (click)="reload()">
|
||||
Reload
|
||||
</button>
|
||||
</ion-nav-items>
|
||||
</ion-navbar>
|
||||
|
||||
|
||||
<ion-content>
|
||||
|
Reference in New Issue
Block a user