Skip to content

Commit

Permalink
Fixing the state of dropdown icon
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard13 committed Feb 13, 2019
1 parent 2f77c8f commit 90f6ad5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
css: {
_selected: $parent.root.isSelected(option.value),
_hover: $parent.root.isHovered(option, $element),
_expended: $parent.root.getLevelVisibility($data),
_expended: $parent.root.getLevelVisibility($data) || $data.visible,
_unclickable: $parent.root.isLabelDecoration($data),
_last: $parent.root.addLastElement($data),
'_with-checkbox': $parent.root.showCheckbox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
css: {
_selected: $parent.isSelectedValue(option),
_hover: $parent.isHovered(option, $element),
_expended: $parent.getLevelVisibility($data),
_expended: $parent.getLevelVisibility($data) && $parent.showLevels($data),
_unclickable: $parent.isLabelDecoration($data),
_last: $parent.addLastElement($data),
'_with-checkbox': $parent.showCheckbox
Expand All @@ -174,6 +174,7 @@
<div class="admin__action-multiselect-dropdown"
data-bind="
click: function(event){
$parent.showLevels($data);
$parent.openChildLevel($data, $element, event);
},
clickBubble: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
border-top: @action-multiselect-tree-lines;
height: 1px;
top: @action-multiselect-menu-item__padding + @action-multiselect-tree-arrow__size/2;
width: @action-multiselect-tree-menu-item__margin-left + @action-multiselect-menu-item__padding;
width: @action-multiselect-tree-menu-item__margin-left;
}

// Vertical dotted line
Expand Down

0 comments on commit 90f6ad5

Please sign in to comment.