From e106618c392d7a18a148179ec5d0371bdea894ad Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 22 Jul 2026 08:42:31 -0700 Subject: [PATCH] Fix (beta): dont include hidden buttons in virtual scroll container height (#13194) --- .../filterable-dropdown.component.html | 28 +++++++++---------- .../filterable-dropdown.component.spec.ts | 27 +++++++++++++++++- .../filterable-dropdown.component.ts | 17 +++++++---- 3 files changed, 50 insertions(+), 22 deletions(-) diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html index 0c73227bc..f03895662 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html +++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html @@ -34,30 +34,28 @@ @if (selectionModel.items) { -
- @if (allowSelectNone || item.id) { - - - } +
+ +
} @if (editing) { - @if ((selectionModel.items | filter: filterText:'name').length === 0 && createRef !== undefined) { + @if (filteredItems.length === 0 && createRef !== undefined) { } - @if ((selectionModel.items | filter: filterText:'name').length > 0) { + @if (filteredItems.length > 0) {