问题
I am using ionic 3.8.0, and I find that when alert is present in iphoneX, the top and the grey backdrop of alert have a gap like the image below, everyone know how to fix it? thanks a lot.
info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.0.1
Cordova Platforms : android 6.3.0 ios 4.5.3
Ionic Framework : ionic-angular 3.8.0
System:
ios-deploy : 1.9.2
ios-sim : 5.0.13
Node : v7.10.0
npm : 5.5.1
OS : macOS Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
nvironment Variables:
ANDROID_HOME : not set
Misc:
backend : legacy
来源:https://stackoverflow.com/questions/47050458/iphone-x-css-issue-in-ionic3-8-0