gristlabs_grist-core/app
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
..
client (core) Scrolling to the active record on search 2021-12-21 09:57:21 +01:00
common (core) Parse string cell values in Doc API and Imports 2021-12-17 15:40:58 +02:00
gen-server (core) move more tests to grist-core 2021-12-10 18:33:07 -05:00
plugin (core) Parsing multiple values in reflists, parsing refs without table data in client 2021-11-09 14:41:04 +02:00
server (core) Parse string cell values in Doc API and Imports 2021-12-17 15:40:58 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00