Marc Durdin
c9474ceae8
fix(web): remove canvas use for iOS compatibility
...
Fixes #5831 .
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 16:51:34 +11:00
Marc Durdin
c760fb7464
fix(web): popup positioning
...
Fixes three issues:
* longpress positioning for inlined OSK views where not all elements
may be in the offset hierarchy; impacts particularly where an inlined
OSK may be within a flex-box.
* Tweaks position of keytip, to take into account the offsetTop of the
key element.
* Inverts test for display of longpress callout, matching Keyman 14.
2021-09-23 08:18:57 +10:00
jahorton
632642b6c2
feat(web): functional touch-subkeys on desktop
2021-09-02 12:30:37 +07:00
jahorton
dfdf0c2e9b
fix(web): key preview positioning
2021-09-02 10:39:54 +07:00
jahorton
1226ae8a01
fix(web): hiding key preview
2021-09-02 09:37:10 +07:00
jahorton
a17fc94ae4
fix(web): typo in css file
2021-09-02 09:33:17 +07:00
jahorton
6b248075d6
feat(web): partially-functional inlined OSK!
2021-09-01 15:31:01 +07:00
jahorton
e2f8c58a2b
fix(web): banner now uses relative positioning + margin-top
2021-08-23 15:28:04 +07:00
jahorton
164c3fa1db
refactor(web): doc-kbd style merger
2021-07-26 15:59:29 +07:00
jahorton
ccdc0af3ed
refactor(web): .kmw-key-row CSS merge
2021-07-26 15:59:29 +07:00
jahorton
c034cd1bc1
refactor(web): .kmw-key-square CSS merge
2021-07-26 15:59:28 +07:00
jahorton
ff47e4a172
refactor(web): .kmw-key CSS merge
2021-07-26 15:59:28 +07:00
jahorton
7e15f54f3a
refactor(web): padding between rows now consistent
2021-07-26 15:59:27 +07:00
jahorton
25497e5db4
refactor(web): partial row simplification
2021-07-26 15:59:26 +07:00
jahorton
f7349a04b1
refactor(web): partial key style merger
2021-07-26 15:59:24 +07: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