gristlabs_grist-core/app/client/lib
Dmitry S 23008038b7 (core) When managing focus, don't auto-scroll
Summary:
When Grist is embedded, calls to focus() cause the outer page to scroll to the embed iframe. Because this happens automatically on load, this cause the page to jump to the embed (not consistent across browsers, but at least in Chrome on Windows).

This change changes the automatic focus() calls to avoid scrolling. In the normal app, it should make no difference; in embedded context, this avoids the unexpected scrolling of the parent page.

Test Plan: Tested manually, with Anais's help: in her browser, embedded Grist consistently caused the page to jump to the embed before the change, and not after.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3631
2022-09-14 17:32:11 -04:00
..
ACIndex.ts (core) Fixing ACIndex highlightMatches functions 2022-08-26 08:34:16 +02:00
ACSelect.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
autocomplete.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
browserGlobals.js (core) move client code to core 2020-10-02 13:24:21 -04:00
browserInfo.ts (core) Fixing bug with first click on windows 2022-06-30 17:08:57 +02:00
chartUtil.ts (core) Fix error bars for bar chart 2022-01-04 17:58:52 +01:00
copyToClipboard.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
CustomSectionElement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dblclick.ts (core) Fix double-tap on Android failing to select tapped cell; ensure gestures don't get interpreted as double-tap 2021-02-10 09:22:14 -05:00
Delay.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dispose.d.ts Correct spelling mistakes 2022-02-19 09:46:49 +00:00
dispose.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DocPluginManager.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
dom.js (core) move client code to core 2020-10-02 13:24:21 -04:00
domAsync.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
download.js (core) move client code to core 2020-10-02 13:24:21 -04:00
FocusLayer.ts (core) When managing focus, don't auto-scroll 2022-09-14 17:32:11 -04:00
formUtils.ts (core) Migrate to SRP and add change password dialog 2022-03-16 21:35:06 -07:00
fromKoSave.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
guessTimezone.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
helpScout.ts (core) Reopen HelpScout beacon to the last-opened article 2022-03-31 14:54:55 -04:00
HomePluginManager.ts (core) Adding import from google drive to the home screen 2021-08-05 20:46:11 +02:00
imports.d.ts (core) tweak how search bar places cursor on sections 2021-08-30 09:26:28 -04:00
imports.js (core) Speed up and upgrade build. 2022-06-27 16:10:10 -04:00
ImportSourceElement.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koArray.d.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koArray.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koArrayWrap.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
koDom.js (core) Scrolling to the active record when editor is activated 2022-01-10 23:35:08 +01:00
koDomScrolly.css (core) move client code to core 2020-10-02 13:24:21 -04:00
koDomScrolly.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koForm.css (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
koForm.js (core) move client code to core 2020-10-02 13:24:21 -04:00
koUtil.js (core) Conditional formatting rules 2022-03-23 13:15:02 +01:00
loadScript.js (core) move client code to core 2020-10-02 13:24:21 -04:00
localStorageObs.ts (core) Polishing upgrade plan UI 2022-06-29 18:28:37 +02:00
log.ts (core) support ?embed=true and &style=light for a clean embed experience 2020-08-14 13:34:38 -04:00
Mousetrap.js (core) Improve focus and keyboard shortcuts in modals. 2020-10-03 22:56:00 -04:00
multiselect.css (core) move client code to core 2020-10-02 13:24:21 -04:00
multiselect.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ObservableMap.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ObservableSet.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ReferenceUtils.ts (core) Reference and ReferenceList formatters 2022-01-13 18:09:33 +02:00
SafeBrowser.ts (core) dust off electron build a little bit 2022-07-29 11:19:26 -04:00
SafeBrowserProcess.css (core) move client code to core 2020-10-02 13:24:21 -04:00
sessionObs.ts (core) Allow left pane to auto-expand on mouse over 2022-07-28 11:41:42 +02:00
sortUtil.ts (core) Adding sort options for columns. 2021-11-03 15:31:39 +01:00
tableUtil.ts (core) Fix some bugs with repositioning rows. 2022-06-07 16:55:45 -04:00
testState.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
textUtils.ts (core) Check document ID when parsing pasted references 2021-11-30 13:40:17 +02:00
TokenField.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00
uploads.ts (core) Switch excel import parsing from messytables+xlrd to openpyxl, and ignore empty rows 2022-05-12 14:43:21 +02:00
UrlState.ts (core) Fixes persistence of the aclAsUser_ parameters across navigation 2021-05-19 09:51:38 +02:00
Validator.ts (core) Add dark mode to user preferences 2022-09-05 19:17:32 -07:00