Marc Durdin
35c5a34126
Update web/source/osk/browser/keytip.ts
2021-11-17 09:14:21 +11:00
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
66be206d96
feat(developer): support for U_xxxx_yyyy
2021-11-11 13:08:39 +11:00
Marc Durdin
dbd9787a7a
Merge branch 'master' into fix/web/popup-positioning
2021-10-05 17:41:49 +11:00
Marc Durdin
0cf4a3c512
Merge pull request #5723 from keymanapp/feat/developer/touch-layout-testing
...
feat(developer): touch layout testing 🎩
2021-10-05 17:40:26 +11:00
Joshua Horton
c008d16654
Merge pull request #5739 from keymanapp/feat/web/mouse-based-banner
...
feat(web): enables mouse interactivity for the predictive banner 🧵
2021-09-23 10:57:13 +07:00
jahorton
31ac1b7c1b
chore(web): replaces literals with constants
2021-09-23 09:27:09 +07:00
jahorton
3363963f11
docs(web): addresses comment-style per review
2021-09-23 09:16:34 +07:00
jahorton
ddccb64d96
docs(web): removes old, unused (commented) code
2021-09-23 08:10:28 +07: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
f53df318dc
feat(web): functional banner mouse interactions
2021-09-22 12:37:33 +07:00
jahorton
26d00d6c9f
refactor(web): second inputEventEngine pass - new config obj
2021-09-22 12:37:32 +07:00
jahorton
be98d8718a
fix(web): banner's touch-move when not embedded
2021-09-22 12:37:32 +07:00
jahorton
e87a277be8
refactor(web): first pass generalization for inputEventEngine
2021-09-22 12:37:31 +07:00
jahorton
595984c813
fix(web): desktop sil_euro_latin patchup
2021-09-22 09:20:09 +07:00
jahorton
14c2c08954
change(web): key use of innerText over innerHTML
2021-09-22 08:54:52 +07:00
jahorton
202377e79b
fix(web): should not use _Box.style.maxWidth
2021-09-22 08:52:19 +07:00
Darcy Wong
6240d305b4
fix(web): Check keyboard before marking layout calibrated
2021-09-22 11:02:53 +10:00
jahorton
354e852130
feat(web): inlined OSK - target device hotswap
2021-09-21 14:04:10 +07:00
jahorton
c7ba56c23a
feat(web): input alignment on layout refresh
2021-09-21 13:44:29 +07:00
jahorton
0640b60e3e
chore(web): Merge branch 'refactor/web/osk-activation-and-visibility' into feat/web/inlined-osk
2021-09-21 12:51:29 +07:00
jahorton
ebd673fdb2
fix(web): osk dismissal after focus timer
2021-09-21 12:19:11 +07:00
jahorton
0956fb62a7
docs(web): adds comment about prior commit's fix
2021-09-20 15:48:18 +07:00
jahorton
da8e83090a
fix(web): touch-based unit test issues
2021-09-20 15:46:59 +07:00
jahorton
48fe02023c
fix(web): fixes unit test issue (event's 'buttons' property)
2021-09-20 14:39:27 +07:00
jahorton
f7dc8e1140
chore(web): Merge branch 'refactor/web/osk-activation-and-visibility' into feat/web/inlined-osk
2021-09-17 15:26:03 +07:00
jahorton
3f48ae7e99
fix(web): more polish, fixes pinned position management
2021-09-17 15:15:53 +07:00
jahorton
09de360789
fix(web): missed bits of last commit, adds some polish
2021-09-17 15:02:43 +07:00
jahorton
8826bec8fe
fix(web): incorporates some review suggestions
2021-09-17 14:58:18 +07:00
jahorton
ffc381fcb6
chore(web): Merge branch 'refactor/web/active-element-integrations' into refactor/web/osk-activation-and-visibility
2021-09-17 08:38:49 +07:00
jahorton
f95f732297
chore(web): Merge branch 'refactor/web/specialized-osk-views' into refactor/web/active-element-integrations
2021-09-16 14:52:45 +07:00
jahorton
c15fe2015e
chore(web): Merge branch 'refactor/web/osk-view-abstraction' into refactor/web/specialized-osk-views
2021-09-16 10:03:19 +07:00
jahorton
ae0786a109
chore(web): Merge branch 'master' into refactor/web/osk-view-abstraction
2021-09-16 09:57:15 +07:00
Joshua Horton
f2e07e8add
Merge pull request #5619 from keymanapp/refactor/web/osk-view-components
...
refactor(web): OSK modularization - view components, layout cleanup ✂️
2021-09-16 09:56:08 +07:00
jahorton
d429c76a52
fix(web): spacebar caption when functional layer differs from display layer
2021-09-14 15:34:27 +07:00
jahorton
e2c2084380
chore(web): adds default value for optional chain
2021-09-14 13:10:52 +07:00
jahorton
11ee389a24
chore(web): copyright tweak
2021-09-14 13:08:46 +07:00
jahorton
9a205474cc
change(web): OSK cookie notes KMW version
2021-09-14 12:55:34 +07:00
jahorton
0eef0cb580
chore(web): Merge branch 'refactor/web/osk-activation-and-visibility' into feat/web/inlined-osk
2021-09-03 15:09:36 +07:00
jahorton
881a2759f2
chore(web): Merge branch 'refactor/web/active-element-integrations' into refactor/web/osk-activation-and-visibility
2021-09-03 12:45:51 +07:00
jahorton
68425763c6
fix(web): fixes touch-mode focusing issue in unit tests
2021-09-03 12:42:34 +07:00
jahorton
5d155de442
chore(web): Merge branch 'refactor/web/specialized-osk-views' into refactor/web/active-element-integrations
2021-09-03 10:16:29 +07:00
jahorton
3e819554a8
chore(web): Merge branch 'refactor/web/osk-view-abstraction' into refactor/web/specialized-osk-views
2021-09-03 09:27:19 +07:00
jahorton
a47dff3b89
chore(web): Merge branch 'refactor/web/osk-view-components' into refactor/web/osk-view-abstraction
2021-09-03 09:23:39 +07:00
jahorton
39262d978b
fix(web): default-cookie adds space for header, footer height
2021-09-03 09:10:18 +07:00
jahorton
49e0f2fc68
fix(web): partial fix for %-scaled OSK dimensions
2021-09-02 13:30:26 +07: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
6cc94649d7
fix(web): propagation-prevention listener setup
2021-09-02 09:03:08 +07:00
jahorton
330b55245f
fix(web): gesture hang with desktop host device, glitchy width
2021-09-02 08:45:19 +07:00