From 7d3d41afb0688d1dd35877d6d7701d7bd16310d3 Mon Sep 17 00:00:00 2001 From: desig9stein Date: Wed, 18 Oct 2023 14:41:11 +0300 Subject: [PATCH] refactor(tree): add pointer-events: none; only to the disabled node not the whole group --- src/components/tree/themes/light/tree-item.base.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/tree/themes/light/tree-item.base.scss b/src/components/tree/themes/light/tree-item.base.scss index 8ec90e2af..85fb4ab18 100644 --- a/src/components/tree/themes/light/tree-item.base.scss +++ b/src/components/tree/themes/light/tree-item.base.scss @@ -97,5 +97,7 @@ } :host([disabled]) { - pointer-events: none; + [part~='wrapper'] { + pointer-events: none; + } }