单击外部 md-select 不起作用 [英] Click outside md-select is not working
本文介绍了单击外部 md-select 不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在对话框中选择 - 角材料 - mdpanel使用示例 md-select但在选项打开时单击外部选择不起作用.
select in dialog - angular material - mdpanel using sample md-select but click outside the select when the options are open is not working.
我该如何解决?谢谢很多
how can I fix it ? thx a lot
html:
<md-select ng-model="ctrl.selectedUser" ng-model-options="{trackBy: '$value.id'}">
<md-option ng-value="user" ng-repeat="user in ctrl.users">{{ user.name }}</md-option>
</md-select>
推荐答案
fixed:
我已经从 md-panel 或 md-dialog 配置对象中删除了zIndex"属性
I have removed the "zIndex" property from md-panel or md-dialog config object
这篇关于单击外部 md-select 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文