我是离子的新手。当我在玩 Ionic 组件时,我发现当我尝试在弹出窗口中创建模态框时,无法单击模态框内的内容。
我发现了类似的问题:Open an ionic modal on top of an ionic popup 但似乎没有人提出建议。
有什么建议或建议吗?
Controller; creates Popup and info_input has a button to open modal.
var myPopup = $ionicPopup.show({
templateUrl: 'templates/info_input.html',
scope: $scope,
buttons: [
{
text: 'Cancel',
}
},
{
text: '<span class="selectConfirm">Select</span>',
type: 'button-dark',
onTap: function(e) {
if (!scope.autofill) {
e.preventDefault();
} else {
$scope.NextPage(0);
}
}
}
]
});