From f7bb83013a7b6c49fee3695668c66129b4078f5c 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 --- .../expandable-navbar-section.component.html | 4 +- ...xpandable-navbar-section.component.spec.ts | 20 +++++---- .../expandable-navbar-section.component.ts | 42 ++++++++++++++----- .../shared/utils/hover-outside.directive.ts | 18 ++++---- .../expandable-navbar-section.component.ts | 2 - 5 files changed, 56 insertions(+), 30 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 f8facaa82a7..0af5c706b76 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 @@ -