当打开一个模态时,它会闪烁白色屏幕并显示模态但是当关闭白色屏幕时显示在Android上而不是在浏览器中
$timeout(function() {
ionicMaterialInk.displayEffect();
$ionicModal.fromTemplateUrl('templates/_result.html', {
scope: $scope,
animation: 'slide-in-up',
hardwareBackButtonClose: true,
config: {
// These options are available in ionic-angular@2.0.0-beta.2 and up.
scrollAssist: false, // Valid options appear to be [true, false]
autoFocusAssist: false // Valid options appear to be ['instant', 'delay', false]
}
}).then(function(modal) {
$scope.resultModal = modal;
});
答案 0 :(得分:0)
我已经使用侧边菜单入门应用启动了我的离子v1项目, 似乎当我的HTML元素或BODY收到"方向:rtl"时, 白色屏幕发生,但当我删除该css选项时动画工作正常.. 目前我怀疑这与z-index有关,虽然我不确定(我在css动画方面没有太多经验) 我希望任何有同样问题的人都可以从这些信息中受益