gristlabs_grist-core/app/client
Jarosław Sadziński c1de16aee7 (core) Scrolling to the active record on search
Summary:
Two bugs fixed:
1. On search, when the first result is in the active record, GridView wasn't scrolling to the active record.
2. When an active record was not visible, GridView wasn't scrolling to the active record when the column index was changed.

The problem was that the scrolling behavior was based only on rowIndex which isn't changed (and doesn't notify subscribers) when a column index changes or when the search highlights a cell.
This diff makes the computed depend also on the fieldIndex, and is introducing a new method that can scroll to the active record on demand (which is used by the search).

Test Plan: Updated tests.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3191
2021-12-21 09:57:21 +01:00
..
aclui (core) go ahead and create fork if non-owner wants to do "View As" on prefork 2021-12-10 14:45:36 -05:00
components (core) Scrolling to the active record on search 2021-12-21 09:57:21 +01:00
lib (core) Scrolling to the active record on search 2021-12-21 09:57:21 +01:00
models (core) Scrolling to the active record on search 2021-12-21 09:57:21 +01:00
ui (core) Use visibleCol instead of displayCol with createFormatter 2021-12-16 22:19:36 +02:00
ui2018 (core) JS error on creator panel and formula editor. 2021-11-30 14:28:22 +01:00
widgets (core) Use visibleCol instead of displayCol with createFormatter 2021-12-16 22:19:36 +02:00
app.css (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
app.js (core) Disable bfcache for all browsers 2021-11-24 09:47:00 -08:00
declarations.d.ts (core) Scrolling to the active record on search 2021-12-21 09:57:21 +01:00
errorMain.ts (core) clean up a collection of small problems affecting grist-core 2021-08-17 21:44:50 -04:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00