spiegel-keyman/common/web
Marc Durdin 0741b88dc2 fix(web): crash on custom modifier keys
Fixes #6788.
Fixes KEYMAN-WEB-22.
Fixes KEYMAN-DEVELOPER-BQ.
Fixes KEYMAN-ANDROID-160.

Fixes a crash introduced in #6473 which was trying to prevent modifier
keys from triggering "fat finger" alternate lookups, due to incomplete
nullish coalescing.

Related to this, from what I can see, a secondary side-effect of the fix
in #6473 was that some key events may have never had their ruleBehaviors
finalized if they matched the `isOnlyLayerSwitchKey` heuristic, leading
to potential issues with edge case 'deadkey+layer switch' keys or keys
that set store values, for example. So this fix also makes the
`isOnlyLayerSwitchKey` test more targeted.

Identified this when adding a Caps Lock layer to sil_euro_latin and
testing the layer switching. At time of fix, the error had been raised
in KeymanWeb, Keyman Developer and Keyman for Android, but not yet
Keyman for iPhone and iPad.
2022-06-17 05:22:19 +10:00
..
es6-shim chore(web): make build paths consistent 2022-05-04 10:13:44 +10:00
input-processor fix(web): crash on custom modifier keys 2022-06-17 05:22:19 +10:00
keyboard-processor chore(web): Merge branch 'chore/web/fixup-unit-test-fixups' into chore/web/merge-web-version-environment 2022-05-27 10:30:16 +07:00
keyman-version chore(web): adapts keyman-version bundling in Developer products 2022-05-28 10:57:24 +10:00
lm-message-types chore: remove unnecessary package-lock.json files 2022-05-16 14:47:58 +10:00
lm-worker chore(web): Merge branch 'chore/web/merge-web-version-environment' into chore/web/better-lm-worker-bundling 2022-05-27 10:31:43 +07:00
recorder chore(web): adds direct keyman-version compile to many build.sh's 2022-05-24 10:11:57 +07:00
sentry-manager chore(web): Merge branch 'chore/web/fixup-unit-test-fixups' into chore/web/merge-web-version-environment 2022-05-27 10:30:16 +07:00
utils chore(web): adds direct keyman-version compile to many build.sh's 2022-05-24 10:11:57 +07:00
.gitignore chore(web): move lm-worker into its own folder 2022-04-14 15:33:23 +10:00