From 5523efd35e94bd4af4f12bb7f27277fa2949f1a7 Mon Sep 17 00:00:00 2001 From: Joan Ferrer Date: Mon, 17 Mar 2025 11:55:29 +0100 Subject: [PATCH] (fix)(#972) The scroll does not work in the searchers once an item has been selected --- projects/systelab-components/package.json | 2 +- .../src/lib/searcher/searcher.table.component.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/systelab-components/package.json b/projects/systelab-components/package.json index da50e90bc..95b492b14 100644 --- a/projects/systelab-components/package.json +++ b/projects/systelab-components/package.json @@ -1,6 +1,6 @@ { "name": "systelab-components", - "version": "18.0.3", + "version": "18.0.4", "license": "MIT", "keywords": [ "Angular", diff --git a/projects/systelab-components/src/lib/searcher/searcher.table.component.ts b/projects/systelab-components/src/lib/searcher/searcher.table.component.ts index 8fd844bd1..04b0bdca1 100644 --- a/projects/systelab-components/src/lib/searcher/searcher.table.component.ts +++ b/projects/systelab-components/src/lib/searcher/searcher.table.component.ts @@ -96,7 +96,6 @@ export class SearcherTableComponent extends AbstractApiGrid implements OnI this.gridOptions.api.forEachNode(node => { if (node.data && node.data[this.searcher.getIdField()] === this.searcher.id) { node.selectThisNode(true); - this.gridOptions.api.ensureNodeVisible(node); } }); }