Skip to content

Commit

Permalink
Login input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoumpierre committed Mar 28, 2018
1 parent a2ed377 commit 22c0d63
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<preference name="loadUrlTimeoutValue" value="700000" />
<platform name="android">
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity">
<activity windowSoftInputMode="adjustPan" />
<activity windowSoftInputMode="adjustResize" />
</edit-config>
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
Expand Down
5 changes: 1 addition & 4 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Platform } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { Storage } from '@ionic/storage';
import { Keyboard } from '@ionic-native/keyboard';

import { LoginFormPage } from '../pages/login-form/login-form';
import { HomePage } from '../pages/home/home';
Expand All @@ -14,8 +13,7 @@ import { HomePage } from '../pages/home/home';
export class MyApp {
rootPage: any;

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, storage: Storage,
keyboard: Keyboard) {
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen, storage: Storage) {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
Expand All @@ -28,7 +26,6 @@ export class MyApp {
}
});

keyboard.disableScroll(false);
statusBar.styleBlackOpaque();
splashScreen.hide();
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class MyErrorHandler implements ErrorHandler {
IonicModule.forRoot(MyApp, {
scrollPadding: false,
scrollAssist: true,
autoFocusAssist: false
autoFocusAssist: true
}),
SelectSearchableModule,
BrMaskerModule,
Expand Down
4 changes: 4 additions & 0 deletions src/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,8 @@ form {
font-weight: 400;
margin-top: 1rem;
}
}

.scroll-content {
padding-bottom:0!important;
}

0 comments on commit 22c0d63

Please sign in to comment.