弹出式顶部的离子开启模式(Ionic Opening Modal on top of popup)
我是Ionic的新手。 当我在使用Ionic组件时,我发现当我尝试在弹出窗口中创建模态时,无法单击模态内的内容。
我发现了类似的问题: 在离子弹出窗口上打开一个离子模态,但似乎没有人提出建议。
有什么建议或意见吗?
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); } } } ] });
I am new to Ionic. While I was playing around with Ionic components, I found that when I try to create modal within popup, the contents inside modal are not able to be clicked.
I found similar question: Open an ionic modal on top of an ionic popup but no one seems to make suggestions.
Any advice or suggestion?
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); } } } ] });
原文:https://stackoverflow.com/questions/39989582
更新时间:2022-02-19 13:02