Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 1e4055d

Browse files
committed
Fixing the state of dropdown icon
1 parent 6d856c4 commit 1e4055d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select-optgroup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
css: {
2020
_selected: $parent.root.isSelected(option.value),
2121
_hover: $parent.root.isHovered(option, $element),
22-
_expended: $parent.root.getLevelVisibility($data),
22+
_expended: $parent.root.getLevelVisibility($data) || $data.visible,
2323
_unclickable: $parent.root.isLabelDecoration($data),
2424
_last: $parent.root.addLastElement($data),
2525
'_with-checkbox': $parent.root.showCheckbox

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@
125125
css: {
126126
_selected: $parent.isSelected(option.value),
127127
_hover: $parent.isHovered(option, $element),
128-
_expended: $parent.getLevelVisibility($data),
128+
_expended: $parent.getLevelVisibility($data) && $parent.showLevels($data),
129129
_unclickable: $parent.isLabelDecoration($data),
130130
_last: $parent.addLastElement($data),
131131
'_with-checkbox': $parent.showCheckbox
132132
},
133133
click: function(data, event){
134+
$parent.showLevels($data);
134135
$parent.toggleOptionSelected($data, $index(), event);
135136
},
136137
clickBubble: false

app/design/adminhtml/Magento/backend/web/css/source/actions/_actions-multiselect.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
border-top: @action-multiselect-tree-lines;
331331
height: 1px;
332332
top: @action-multiselect-menu-item__padding + @action-multiselect-tree-arrow__size/2;
333-
width: @action-multiselect-tree-menu-item__margin-left + @action-multiselect-menu-item__padding;
333+
width: @action-multiselect-tree-menu-item__margin-left;
334334
}
335335

336336
// Vertical dotted line

0 commit comments

Comments
 (0)