gristlabs_grist-core/app/client
Dmitry S 90db5020c9 (core) Improve focus and keyboard shortcuts in modals.
Summary:
- Factor out focusing logic from Clipboard to FocusLayer.
- Generalize FocusLayer to support adding a temporary layer while a modal is open.
- Stop Mousetrap shortcuts while a modal is open.
- Refactor how Mousetrap's custom stopCallback is implemented to avoid
  needing to bundle knockout for mousetrap.

Test Plan: Added a test that Enter in a UserManager doesn't open a cell editor from underneath the modal.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2626
2020-10-03 22:56:00 -04:00
..
components (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
lib (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
models (core) move client code to core 2020-10-02 13:24:21 -04:00
ui (core) move client code to core 2020-10-02 13:24:21 -04:00
ui2018 (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
widgets (core) move client code to core 2020-10-02 13:24:21 -04:00
app.css (core) move client code to core 2020-10-02 13:24:21 -04:00
app.js (core) move client code to core 2020-10-02 13:24:21 -04:00
declarations.d.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
exposeModulesForTests.js (core) move client code to core 2020-10-02 13:24:21 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00