Joshua Horton
17fd83deec
Merge pull request #4270 from keymanapp/fix/web/4026-rescale-tall-keys
...
fix(web): dynamic font downscaling for OSK keys
2021-01-22 12:27:43 +07:00
Joshua Horton
2f43b68a81
Merge pull request #4308 from keymanapp/fix/web/lang-menu-key-highlight
...
fix(web): language menu key highlighting
2021-01-22 09:44:19 +07:00
Joshua Horton
745c328f4f
Merge pull request #4306 from keymanapp/fix/web/default-popup-key
...
fix(web): default popup key selection, space highlight after popup
2021-01-22 09:44:09 +07:00
jahorton
b564341b46
fix(web): dynamic fontsize should only on key-text
2021-01-22 09:20:59 +07:00
jahorton
ed5866ffda
change(web): timeout was already bound
2021-01-22 08:39:28 +07:00
jahorton
16ca7ecc80
change(web): default subkey change from review comment
2021-01-22 08:24:25 +07:00
jahorton
efda46e968
fix(web): language menu key highlighting
2021-01-21 13:34:48 +07:00
jahorton
cc5ba47603
change(web): adds 'break' for perfect-match case
2021-01-21 12:23:12 +07:00
jahorton
c5e67034e0
docs(web): enhances comment
2021-01-21 12:22:14 +07:00
jahorton
2db9c02fbf
fix(web): default popup key selection, space highlight after popup
2021-01-21 12:09:51 +07:00
jahorton
8340365015
fix(web): getComputedStyle for fontSize backup
2021-01-21 10:36:00 +07:00
jahorton
693018a2e2
chore(web): Merge branch 'beta' into fix/web/4026-rescale-tall-keys
2021-01-21 10:32:36 +07:00
Marc Durdin
b702170736
Merge pull request #4304 from keymanapp/fix/web/toolbar-and-loading-optimisations
...
fix(web): toolbar and loading optimisations
2021-01-21 14:23:07 +11:00
Joshua Horton
19cd7e3bd5
Merge pull request #4279 from keymanapp/fix/web/4240-keyboard-load-optimizations
...
fix(web): OSK loading efficiency
2021-01-21 10:21:06 +07:00
Marc Durdin
34568b3e8e
fix(web): toolbar and loading optimisations
...
There are a number of changes here to improve the performance of
KeymanWeb and the toolbar and reduce unnecessary requests:
1. (kmwbase.ts and kmwkeyboards.ts) Added option `setActiveOnRegister`,
default `'true'`; if set to `'false'` then will never attempt to
activate the first registered keyboard. Note that this property is a
string because the `options` object currently supports only string
types, which is not ideal, but out of scope for this PR.
2. (kmwuitoolbar.ts) fixed issue with toolbar not matching correctly on
full BCP 47 code (line 960) after keyboard change notification.
3. (kmwuitoolbar.ts) fixed issue with toolbar not showing active
keyboard if the keyboard is activated before init is complete
(see `ui.lastSelectedKeyboard` references).
4. (kmwuitoolbar.ts) avoided re-entrancy for `ui.changeKeyboardEvent`
by ensuring that `ui.selectKeyboard` does not attempt to set the
active keyboard again for keymanweb; note that this was being caught
by the event dispatcher in keymanweb but it was still not ideal.
5. (kmwuitoolbar.ts) with above changes, able to remove appalling two
second timeout on load (yay!)
These changes will be useful immediately with keymanweb.com.
2021-01-21 12:07:15 +11:00
jahorton
03608f1be1
fix(web): better em-font-size detection, handles absolute spec on _Box
2021-01-20 16:35:18 +07:00
jahorton
20ef2b359a
change(web): addresses PR comments
2021-01-20 16:06:08 +07:00
jahorton
934852d837
change(web): removes unused variable
2021-01-19 14:04:55 +07:00
jahorton
0093c8b991
fix(web): default kbd ui name is now generic
2021-01-19 13:35:39 +07:00
Joshua Horton
4a6973c67f
Merge pull request #4282 from keymanapp/fix/web/3513-special-key-preview
...
fix(web): no key previews for special keys reliant on keyboard-specific OSK font
2021-01-19 11:56:13 +07:00
Joshua Horton
15947400bb
fix(web): previous commit had accidental recursion in properties
2021-01-19 11:55:49 +07:00
Joshua Horton
7d4763e902
Merge pull request #4255 from keymanapp/fix/web/4026-oversized-key-text-valign
...
fix(web): uses CSS line-height to vertically center oversized OSK keycaps
2021-01-19 10:39:44 +07:00
jahorton
addaad0dbd
fix(web): better font-wait null guards
2021-01-19 09:26:16 +07:00
jahorton
b4856e6813
fix(web): polishes up changes (cherrypicks parts of key-rescaling PR)
2021-01-19 08:49:49 +07:00
jahorton
77f26712f1
fix(web): no longer shows key previews for special keys reliant on keyboard's OSK font
2021-01-18 15:33:13 +07:00
jahorton
8331b33b83
change(web): name tweak for new method
2021-01-18 13:10:42 +07:00
jahorton
29363e0d37
change(web): VisualKeyboard no longer repeatedly references cookie during construction
2021-01-18 12:30:36 +07:00
jahorton
71a89b5531
refactor(web): OSK size now tracked on VisualKeyboard
2021-01-18 11:50:19 +07:00
jahorton
2b9433fd4e
fix(web): dynamic font downscaling for OSK keys
2021-01-15 13:52:18 +07:00
Joshua Horton
4a29e293c2
Merge pull request #4238 from keymanapp/fix/web/3991-null-offsetParent
...
fix(web): unexpected errors in OSK / banner position calculations
2021-01-15 09:59:14 +07:00
Joshua Horton
d4420c00fc
change(web): minor tweak from review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-01-15 09:54:54 +07:00
jahorton
bdd2a3e262
fix(web): subkeys are important, too
2021-01-15 09:34:32 +07:00
jahorton
e457b85697
fix(web): uses line-height to v-center oversized key text
2021-01-14 15:43:19 +07:00
Joshua Horton
c826857f09
Merge pull request #4243 from keymanapp/fix/web/4242-no-worker-no-prediction-engine
...
fix(web): disables predictive text on Opera mini
2021-01-14 08:38:15 +07:00
jahorton
1c52376f03
fix(web): prevents predictive text engine init if workers aren't available
2021-01-13 13:56:27 +07:00
jahorton
e175aa3e7c
fix(web): OSK key preview positioning. Fixes #3953
2021-01-13 12:56:18 +07:00
jahorton
2bf5d8a76a
fix(web): offsetParent -> parentElement
2021-01-13 10:09:46 +07:00
Joshua Horton
2cd3f812ec
Merge pull request #4232 from keymanapp/fix/web/3697-osk-size-cookie-sync
...
fix(web): osk size & position after focus changes
2021-01-13 08:48:35 +07:00
jahorton
b9437c08e4
chore(web): mild cleanup
2021-01-12 12:53:47 +07:00
jahorton
f20098244a
fix(web): fixes cookie/state mismatch
2021-01-12 12:48:19 +07:00
jahorton
360c2cd71c
fix(web): osk size & position after focus changes
2021-01-12 12:02:30 +07:00
jahorton
925bbc1f56
fix(web): supplies missing (optional) argument to prevent warnings
2021-01-11 10:01:36 +07:00
Matthew Lee
8f3e3283d6
Removed temporary comments
2020-12-21 14:10:35 +11:00
Matthew Lee
bfd5a8e775
More consistent with Android Tablet
2020-12-21 14:10:35 +11:00
Matthew Lee
a511252d91
Bold Draft
2020-12-21 14:10:34 +11:00
Marc Durdin
4d07a393b0
fix(web): sporadic blank keyboard on Android
...
Fixes #3996 .
This is a tentative fix: it merely prevents `_Hide` from having any effect when in embedded mode. Tested on Android and could not force any issues.
However, it addresses the symptom and is probably sufficient but does not actually fix the root issue of the problem, which is that the `_Hide` method should never be called for embedded mode, as keyboard visibility is controlled by the host Keyman Engine on the device. Digging out those code paths is a much bigger job, and as the keyboard continues to function correctly if the effect of the hide (opacity=0) is undone by hand using web inspector, I am reasonably confident that this won't break other things.
2020-12-14 09:51:27 +11:00
Darcy Wong
7e6d2c6ac6
Merge pull request #4098 from keymanapp/fix/web/offsettop-null
...
fix(web/ui): Add null check for calculations when canceling touch
2020-12-10 10:09:05 +07:00
Darcy Wong
e985dbaccb
Update web/source/osk/visualKeyboard.ts
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2020-12-09 14:43:31 +07:00
Darcy Wong
993ba2f26b
fix(web/ui): Fix check on indexOf
2020-12-09 14:30:47 +07:00
Darcy Wong
eeb5044040
fix(web/ui): Also guard on kbdDiv
2020-12-09 13:31:12 +07:00