When treeNode is disabled, its switcher is highlight and clickabled (#9539)

* When treeNode is disabled, its switcher is highlight and clickabled

* rc-tree@1.7.11
pull/9592/head
valleykid 7 years ago committed by 偏右
parent 5157b7b8a2
commit ae78a4bbec

@ -96,10 +96,9 @@
}
}
li&-treenode-disabled {
> span,
> span:not(.@{select-tree-prefix-cls}-switcher),
> .@{select-tree-prefix-cls}-node-content-wrapper,
> .@{select-tree-prefix-cls}-node-content-wrapper span,
> span.@{select-tree-prefix-cls}-switcher {
> .@{select-tree-prefix-cls}-node-content-wrapper span {
color: @disabled-color;
cursor: not-allowed;
}

@ -152,10 +152,9 @@
}
}
li&-treenode-disabled {
> span,
> span:not(.@{tree-prefix-cls}-switcher),
> .@{tree-prefix-cls}-node-content-wrapper,
> .@{tree-prefix-cls}-node-content-wrapper span,
> span.@{tree-prefix-cls}-switcher {
> .@{tree-prefix-cls}-node-content-wrapper span {
color: @disabled-color;
cursor: not-allowed;
}

@ -73,7 +73,7 @@
"rc-tabs": "~9.2.0",
"rc-time-picker": "~3.2.1",
"rc-tooltip": "~3.7.0",
"rc-tree": "~1.7.0",
"rc-tree": "~1.7.11",
"rc-tree-select": "~1.12.0",
"rc-upload": "~2.4.0",
"rc-util": "^4.0.4",

Loading…
Cancel
Save