From df03a297c555d052dc1fd5a2bb31a623602d1920 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 24 Jun 2024 15:29:56 +0100 Subject: [PATCH] Stop autoscrolling horizontall to reveal primary display cells as they don't need it --- packages/frontend-core/src/components/grid/stores/scroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend-core/src/components/grid/stores/scroll.js b/packages/frontend-core/src/components/grid/stores/scroll.js index ad04c6f783..38809137c6 100644 --- a/packages/frontend-core/src/components/grid/stores/scroll.js +++ b/packages/frontend-core/src/components/grid/stores/scroll.js @@ -180,7 +180,7 @@ export const initialise = context => { // Check horizontal position of columns next const { field } = parseCellID($focusedCellId) const column = get(columnLookupMap)[field] - if (!column) { + if (!column || column.primaryDisplay) { return }