Marc Durdin
d55df2e630
fix(web): remove canvas use for iOS compatibility 🍒
...
Fixes #5831 .
Cherry-pick of #5915 .
iOS 15 has a significant crashing bug whereby use of a canvas element
completely crashes the browser in some contexts. In particular, we have
observed this when using a WKWebView in a keyboard extension without
'Allow Full Access' switched on.
Keyman uses canvas element to draw a nice looking key preview (key tip)
on iPhones. This is a critical issue for Keyman for iPhone. Keyman for
iPad is not affected because the iPad version does not use key previews.
The resolution here is to remove use of the canvas drawing for key tips
and use a simplified pure HTML/CSS shape. I have not conditioned this
fix on platform; I have currently opted to apply this to all platforms.
This issue will be reported to Apple for resolution. The issue applies
so far to iOS 15.0, 15.1.
2021-11-16 17:30:04 +11:00
jahorton
2b9433fd4e
fix(web): dynamic font downscaling for OSK keys
2021-01-15 13:52:18 +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
jahorton
c8431c38bc
feat(web/engine): updates osk font, adds layout codes for new glyphs
2020-11-12 15:46:55 +07:00
Darcy Wong
6f0f3e5b62
chore(web): Update keymanweb-osk.ttf to v. 2.100
...
In preparation for #2713 , this updates the keymanweb-osk.ttf font to [v. 2.100](https://github.com/silnrsi/font-keymanweb-osk/releases/tag/v2.100 ) which adds the new glyphs silnrsi/font-keymanweb-osk#1
2020-10-28 14:42:05 +07:00
jahorton
359003928a
fix(ios): fixes image banner alignment. Fixes #2834
2020-03-17 16:15:34 +07:00
jahorton
fd5484782f
chore(web): Merge branch 'beta' into feat/web/2522-suggestion-restyle
2020-02-14 08:07:56 +07:00
jahorton
9374ff92fe
change(web): embedded iOS banner spacing
2020-02-13 10:35:43 +07:00
Joshua A. Horton
a5409dc323
fix(web): fixes positioning of native-mode language menu
2020-02-12 10:55:54 +07:00
jahorton
1b22d3ae19
feat(web): restyles prediction banner
2020-02-11 15:14:20 +07:00
jahorton
a1b370177e
feat(web): dark mode styling for ios tablets
2020-01-06 09:43:35 +07:00
jahorton
c0ac3166c6
feat(web): Dark mode CSS for ios phone form factors
2020-01-06 09:39:01 +07:00
jahorton
47a2a5ec5f
feat(ios): ios-phone predictive banner dark styling
2019-12-20 11:50:09 +07:00
jahorton
966ea1277e
docs(web): an important thought re dark mode implementation in web
2019-11-08 16:04:58 +07:00
jahorton
c01fb9570b
feat(web): start web dark mode css dev
2019-11-08 15:57:13 +07:00
jahorton
f4f892e65f
Hack - alters the toolbar map to match regions
2019-09-23 14:57:09 +07:00
jahorton
73aea8eb88
Fixes #1980 . Enables suggestion scrolling
2019-09-10 10:23:27 +07:00
jahorton
bbf734d149
Fixes CSS issue affecting some Android devices
2019-09-03 10:21:52 +07:00
jahorton
c8d9430228
Fixes tablet suggestion text alignment issue
2019-08-06 16:17:03 +07:00
Marc Durdin
b958d9f90d
Remove legacy iOS absolute positioning CSS
2019-07-01 10:39:02 +10:00
Marc Durdin
eb2323c573
Comment out iOS-specific legacy embedding overrides in CSS (TO BE REMOVED COMPLETELY)
2019-06-27 22:49:08 -07:00
Marc Durdin
494cd52de4
Fix kmw-key-square positioning and adjust findNearestKey for over-key situations
2019-06-19 08:41:02 +10:00
Marc Durdin
2ca79c7682
[Web] Tweak positioning of banner and layout of OSK
2019-06-17 12:57:34 +10:00
jahorton
e74f9f2e07
Merge branch 'master' into ios-banner-replacement-image-fix
2019-04-29 14:23:17 +07:00
Joshua A. Horton
6882e43c11
Merge branch 'master' into web-banner-touch-handling
2019-04-09 15:27:23 +07:00
Darcy Wong
a729902ee1
Fix display on KMW desktop
2019-04-03 10:58:17 +07:00
Darcy Wong
aed2c5232c
Merge remote-tracking branch 'origin/master' into android-init-height
2019-04-03 09:48:29 +07:00
Darcy Wong
759a7b1783
Add tablet styling
2019-04-02 23:32:13 +07:00
Darcy Wong
df0af522f0
Cheat styling to get suggestions to appear
2019-04-02 17:09:37 +07:00
Darcy Wong
f8697640c5
Change text styling
2019-04-02 14:52:37 +07:00
Joshua A. Horton
ae3a6a5b2a
Start of touch support for Banner Suggestions.
2019-04-02 10:27:15 +07:00
Darcy Wong
d99bd10a8a
Adjust for banner height
2019-04-01 16:08:14 +07:00
Joshua A. Horton
10810c6543
A bit more Suggestion UI formatting.
2019-03-29 12:55:48 +07:00
Joshua A. Horton
2e14fcecf8
Refactor of SuggestionBanner
2019-03-29 12:30:54 +07:00
jahorton
6da4c78161
Extremely rough rip-out-and-replace for the banner
2019-03-27 09:17:10 +07:00
Darcy Wong
13c82ed539
Add tablet styling
2019-03-21 21:55:42 +07:00
Darcy Wong
319a556a67
Address review comments
2019-03-21 14:48:44 +07:00
Darcy Wong
7323a6a110
Adjust suggestion styling
...
* Use full width
* Remove "extra" blank region
2019-03-21 09:03:12 +07:00
Darcy Wong
0700704048
Put suggestion text in div and apply styling
2019-03-20 21:26:49 +07:00
Darcy Wong
8a5c6144a6
Create suggestion elements
2019-03-20 16:08:17 +07:00
Darcy
7a39380cea
Start incorporating banner height
2019-03-15 15:36:34 +07:00
Darcy
2074956bf9
Add methods to control visibility and enable
2019-03-14 15:42:38 +07:00
Joshua A. Horton
62bdfc6674
KeymanWeb - versioning update for beta.
2019-01-15 08:52:43 +07:00
Joshua A. Horton
aed8bebdac
Merge branch 'master' into web-340-chiral-font
2018-02-12 08:33:30 +07:00
darcywong00
3bbefd9074
Also add styling for kmw-special-on
...
Follow-on to #559 , this adds styling for `kmw-special-on` to follow `kmw-shift-on`
2018-02-02 16:12:13 +07:00
darcywong00
7ad3f0f099
Fix styling for "Special" keys on touch layouts
...
Text colors for `kmw-key-special` weren't declared so "Special" keys were not legible as black on black.
Reuse the same colors as `kmw-key-shift`
2018-02-02 14:01:50 +07:00
Joshua A. Horton
619acbbc77
The new OSK font is ready to roll!
2017-12-11 15:07:14 +07:00
Joshua Horton
66bfa6aabd
Adds updated OSK font, refactors + extends special OSK chars.
2017-11-28 08:45:11 +07:00