Files
gristlabs_grist-core/app/client/widgets
Dmitry S 1274fe55fb (core) Fix linking of new records when attachment is the first thing added.
Summary:
Fixes a bug when in a linked widget, the automatic reference wasn't being set
for a new record if attachment is the first thing that gets added to the
record.

- Move handling of 'setCursorPos' pseudo-command to GristDoc to support cross-section switching (relevant when moving attachment into a cell of a non-active page widget)
- Modernize code for AttachmentsWidget slightly (better typings, css conventions)
- Change the fix in https://phab.getgrist.com/D3796 from using isolate to using different z-index values, to avoid a change in the look of the cursor on Attachment cells.

Test Plan: Added a test case for what's possible to test with webdriver.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3811
2023-03-09 08:54:36 -05:00
..
2022-02-19 09:46:49 +00:00
2021-06-17 19:12:16 +02:00
2020-10-02 13:24:21 -04:00
2022-10-17 13:38:21 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-06-17 19:12:16 +02:00