Skip to content

Commit 16daec0

Browse files
committed
ng-if修改为ng-show,修复在任务搜索页面选择后,无法追踪到父样式的问题
1 parent a420be9 commit 16daec0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "git://github.com/angular-ui/ui-select.git"
88
},
99
"style": "dist/select.css",
10-
"version": "0.19.8",
10+
"version": "0.19.9",
1111
"devDependencies": {
1212
"angular": "^1.2.18",
1313
"angular-mocks": "^1.2.18",

src/uiSelectChoicesDirective.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ uis.directive('uiSelectChoices',
3838
}
3939

4040
choices.attr('ng-repeat', parserResult.repeatExpression(groupByExp))
41-
.attr('ng-if', '$select.open'); //Prevent unnecessary watches when dropdown is closed
41+
.attr('ng-show', '$select.open'); //Prevent unnecessary watches when dropdown is closed
4242

4343

4444
var rowsInner = tElement.querySelectorAll('.ui-select-choices-row-inner');

0 commit comments

Comments
 (0)