From 9c6fb1794f1329870092433a78bdcbdd0b5f5729 Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Sun, 27 Oct 2024 14:11:05 +0100 Subject: [PATCH] 116404: Replaced ViewChild logic with a CSS selector This change avoids triggering an additional change detection cycle (cherry picked from commit f7bb83013a7b6c49fee3695668c66129b4078f5c) --- .../expandable-navbar-section.component.html | 4 +- ...xpandable-navbar-section.component.spec.ts | 18 +++++---- .../expandable-navbar-section.component.ts | 39 +++++++++++++++---- .../shared/utils/hover-outside.directive.ts | 18 +++++---- 4 files changed, 54 insertions(+), 25 deletions(-) diff --git a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html index f8facaa82a..0af5c706b7 100644 --- a/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html +++ b/src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.html @@ -1,4 +1,4 @@ -