You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 4, 2022. It is now read-only.
issue(prompt alert): Should show in middle of the screen as per native alert #171
Current behavior:
A prompt alert on a large device like an iPad (on iOS) is being displayed at the top half of the screen:
I am assuming this is done because then the keyboard appears, the alert will be in the right place.
Expected behavior:
This needs to work more like a native app. The prompt to appear in the center of the screen. When the software keyboard opens up, the alert needs to slide into the correct position near the top of the screen.
Steps to reproduce:
Create any prompt alert on an iPad and note it's positioning.
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Ionic v3.
I'm facing the same issue with alert box.
It only happens when I put text box in the alert.
Alert box appears on the top even in regular devices like iPhones.
It works fine when I make build for android.
Checkbox, radio button etc works fine and alert box appears in the middle.
Can anyone please tell me why?
Is this anything to do with Ionic v3?
Ionic v3. It only happens when I put text box in the alert. Alert box appears on the top in regular devices like iPhones. It works fine when I build for android. Checkbox, radio button etc works fine and alert box appears in the middle. Can anyone please tell me why? Is this anything to do with Ionic v3?
I tried to apply cssClass to override the position. But, then screen flickers when user tries to open the keyboard. So, I tried to keep the text box in the alert unfocused by keeping the keyboard closed when alert appears. Still no luck.
Activity
kareemsalah227 commentedon Feb 15, 2019
No solution for this yet? I'm running into the same situation.
azilenpulkit commentedon Mar 6, 2019
Ionic v3.
I'm facing the same issue with alert box.
It only happens when I put text box in the alert.
Alert box appears on the top even in regular devices like iPhones.
It works fine when I make build for android.
Checkbox, radio button etc works fine and alert box appears in the middle.
Can anyone please tell me why?
Is this anything to do with Ionic v3?
azilenpulkit commentedon Mar 6, 2019
Ionic v3. It only happens when I put text box in the alert. Alert box appears on the top in regular devices like iPhones. It works fine when I build for android. Checkbox, radio button etc works fine and alert box appears in the middle. Can anyone please tell me why? Is this anything to do with Ionic v3?
I tried to apply cssClass to override the position. But, then screen flickers when user tries to open the keyboard. So, I tried to keep the text box in the alert unfocused by keeping the keyboard closed when alert appears. Still no luck.
Please refer the image for the same.
