Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ion-alert is partially hidden by the keyboard (iOS) #19561

Closed
robingenz opened this issue Oct 7, 2019 · 4 comments
Closed

bug: ion-alert is partially hidden by the keyboard (iOS) #19561

robingenz opened this issue Oct 7, 2019 · 4 comments
Labels

Comments

@robingenz
Copy link
Contributor

robingenz commented Oct 7, 2019

Bug Report

Ionic version:

[x] 4.x

Current behavior:
iOS: ion-alert is partially hidden by the keyboard.
885425f3-b8ee-4ebe-9045-916da4dcb20f

Expected behavior:
iOS: ion-alert should be centered vertically after opening the keyboard (like in Android).

On Android it looks like this:
e22125f3-b8ee-4c2a-b1c7-e16da4eda1c0

Steps to reproduce:

  1. Add ion-alert with inputs
  2. Run the app on iOS and open the keyboard by focusing on the input field of the ion-alert.

Other information:

Ionic info:

$ ionic info
Ionic:

   Ionic CLI                     : 5.4.1
   Ionic Framework               : @ionic/angular 4.10.0
   @angular-devkit/build-angular : 0.803.6
   @angular-devkit/schematics    : 8.3.6
   @angular/cli                  : 8.3.6
   @ionic/angular-toolkit        : 2.0.0

Cordova:

   Cordova CLI       : 9.0.0 ([email protected])
   Cordova Platforms : ios 4.5.4
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 22 other plugins)

Utility:

   cordova-res : 0.6.0 
   native-run  : 0.2.8 

System:

   ios-deploy : 1.9.4
   NodeJS     : v10.15.3 (/usr/local/bin/node)
   npm        : 6.4.1
   OS         : macOS Mojave
   Xcode      : Xcode 11.0 Build version 11A420a
@ionitron-bot ionitron-bot bot added the triage label Oct 7, 2019
@robingenz
Copy link
Contributor Author

Temporary workaround:

.sc-ion-alert-ios-h {
    position: absolute;
}

@robingenz robingenz mentioned this issue Oct 7, 2019
13 tasks
@somq
Copy link

somq commented Jan 25, 2020

Same bug on Android

@robingenz
Copy link
Contributor Author

Fixed with #22425

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 5, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants