gristlabs_grist-core/app/client/widgets
Dmitry S 7284644313 (core) Add support for editing on mobile.
Summary:
- Add custom handling for dblclick on mobile, to allow focusing editor.
- In place of Clipboard.js, use a FocusLayer with document.body as the default focus element.
- Set maximum-scale on iOS viewport to prevent auto-zoom.
- Reposition the editor on window resize when editing a cell, which is a normal
  occurrence on Android when virtual keyboard is shown.
- Add Save/Cancel icon-buttons next to cell editor on mobile.

Test Plan: Tested manually on Safari / FF on iPhone, and on Chrome on Android emulator.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2721
2021-02-03 23:10:51 -05:00
..
AbstractWidget.js (core) move client code to core 2020-10-02 13:24:21 -04:00
AttachmentsEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
AttachmentsWidget.css (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
AttachmentsWidget.ts (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
BaseEditor.js (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
CheckBox.css (core) move client code to core 2020-10-02 13:24:21 -04:00
CheckBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
CheckBoxEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
DateEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DiffBox.ts (core) simplify document comparison code, and flesh out diff with local changes 2020-11-11 15:49:16 -05:00
EditorButtons.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorPlacement.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
ErrorDom.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.css (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.ts (core) Automatically finalize action bundles when unrelated actions/bundles come in. 2020-11-10 10:32:07 -05:00
FieldEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
FormulaEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
HyperLinkEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
NewAbstractWidget.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
NewBaseEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
NTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
NTextEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
NumericTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
ReferenceEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
Spinner.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.js (core) move client code to core 2020-10-02 13:24:21 -04:00
TextBox.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.js (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
UserType.js (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
UserTypeImpl.js (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00