Marc Durdin
d6982898a8
fix(web): restore dragEnd function
...
Relates to #5947 .
I resolved a merge conflict in #5947 in the wrong direction and
accidentally deleted the `dragEnd` function. This restores it.
2021-11-29 07:40:04 +11:00
Marc Durdin
c7b83f9f1f
Merge branch 'master' into fix/web/5944-save-focus-for-eurolatin-osk
2021-11-29 06:35:53 +11:00
Marc Durdin
f300e81381
Merge branch 'master' into fix/web/5909-shorten-setfocustimer
2021-11-24 07:11:34 +11:00
Marc Durdin
9162d575ce
fix(web): support saving focus for custom OSK interactions
...
Fixes #5944 .
If a custom OSK, such as sil_euro_latin, calls `keymanweb.KSF()` or
`keymanweb.saveFocus()`, this ensures that the next focus change is
ignored, which prevents the OSK from being dismissed as soon as it is
clicked on.
This is a regression, probably arising in version 10.0.
Note: `_SelectionChange` is no longer used or referenced, so I removed
it as part of this fix.
2021-11-19 12:58:53 +11:00
Marc Durdin
cceb2f35b5
fix(web): shorten setFocusTimer()
...
Fixes #5909 .
The `setFocusTimer()` delay was 1000ms. However, it seems that a much
shorter delay accomplishes the same outcome for switching between
controls, as the important factor is to block asynchronously-arriving
events from cancelling the OSK / focus controls for touch alias
elements.
I have set the delay to 50ms. This is fast enough that a click in a
control followed by a click on the page area will always cancel the OSK,
but gives the space needed for queued focus/blur events have time to be
processed before cancelling the timer.
2021-11-19 11:22:21 +11:00
Marc Durdin
c2c7e00e94
fix(web): reset scroll anchor on touchend
...
Fixes #5313 .
2021-11-17 10:37:01 +11:00
Darcy Wong
9136933c9e
fix(web): Check parent element is defined before assigning
2021-11-02 11:22:08 +07:00
jahorton
09f4aed77e
chore(web): Merge branch 'refactor/web/active-element-integrations' into refactor/web/osk-activation-and-visibility
2021-09-21 09:59:46 +07:00
jahorton
a6289f4f0f
fix(web): detaches base-page touch handlers on shutdown
2021-09-21 09:55:11 +07:00
jahorton
b452092765
refactor(web): base page touch-handlers
2021-09-21 09:43:34 +07:00
jahorton
a1516d194d
fix(web): focus-timer preserves activation on Android
2021-09-21 09:23:11 +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
430b636b22
fix(web): independent keyboard & touch-focus management
2021-09-15 10:28:58 +07:00
jahorton
29a8e3ad63
chore(web): extra sanity check for activeTarget management
2021-09-03 13:34:46 +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
e8afd71491
refactor(web): _Show -> present(), presentAtPosition()
2021-09-01 09:44:34 +07:00
jahorton
f070df079d
refactor(web): osk._Hide -> osk.startHide
2021-09-01 09:44:34 +07:00
jahorton
ffef7c2bd4
chore(web): mild cleanup
2021-09-01 09:44:31 +07:00
jahorton
fe797fe657
refactor(web): osk now controls own display state
2021-09-01 09:44:30 +07:00
jahorton
5cbb3cfeeb
refactor(web): OSK view activeTarget, lastActiveTarget no longer tied to DOMManager
2021-09-01 09:44:29 +07:00
jahorton
a495bf421e
chore(web): minor touch-up
2021-09-01 09:44:02 +07:00
jahorton
7fd62c51f4
refactor(web): centralizes element-oriented OSK display logic, polish for prior commits
2021-09-01 09:44:02 +07:00
jahorton
6971f09c4d
refactor(web): activeElement, lastActiveElement as properties
2021-09-01 09:44:01 +07:00
jahorton
c0e48e649a
refactor(web): OSK connection to active element
2021-09-01 09:44:00 +07:00
jahorton
1c0f596ee7
chore(web): reverts unneeded changes
2021-08-25 11:53:31 +07:00
jahorton
f27ddc6180
refactor(web): constructor takes devicespec; more pruning, centralization
2021-08-25 09:40:20 +07:00
jahorton
aebe4788a7
refactor(web): Anchored vs Floating OSKViews (pass 1)
2021-08-25 09:40:18 +07:00
Joshua Horton
f870355f21
Merge pull request #5506 from keymanapp/refactor/web/vkbd-touch-events
...
refactor(web): prep work for mouse-based use of touch events 👆
2021-08-23 09:57:02 +07:00
jahorton
4a2fec2d8f
refactor(web): roots out embedded-tab code from source branch
2021-08-05 12:13:03 +07:00
jahorton
3066c1f246
chore(web): Merge branch 'master' into fix/web/final-match-group
2021-08-05 11:02:24 +07:00
jahorton
283b36eb00
change(web): moves uiTouchHandlerBase class
2021-07-30 08:15:14 +07:00
Darcy Wong
5d1a652314
Merge remote-tracking branch 'origin/master' into feat/web/add-keyboard-promise
2021-07-23 13:12:40 +07:00
jahorton
0a33ed863d
chore(web): addresses review comments
2021-07-23 11:48:51 +07:00
jahorton
dbded0dd23
refactor(web): osk.prepare -> constructor, sync _Load
2021-07-07 11:46:12 +07:00
jahorton
7d08b2795f
feat(web): delayed keyman.osk initialization
2021-07-07 11:45:27 +07:00
jahorton
e2ba78582e
feat(web): prevents crash on null keyman.osk field
2021-07-07 11:45:27 +07:00
Darcy Wong
144125080b
feat(web): Handle deferment of adding keyboards
2021-06-30 10:26:19 +07:00
Darcy Wong
b843a24f9a
chore(web): Address additional review comments
...
* Add more description on promise-api/index.html
* Use OptionType
2021-06-25 09:15:13 +07:00
jahorton
c91d2f3685
refactor(web): related adjustments for full KMW
2021-05-28 13:14:43 +07:00
jahorton
125e6f3590
docs(web): adds requested comment
2021-05-25 10:06:30 +07:00
jahorton
439d05cf88
fix(web): better multitouch handling
2021-05-24 11:40:41 +07:00
jahorton
fcc60d0a3c
chore(web): removes diagnostic breadcrumbing
2021-05-24 10:59:54 +07:00
Marc Durdin
4f404ccdb8
chore: disable findTouchAliasElement logging
2021-04-26 17:38:01 +10:00
jahorton
9f071bb906
change(web): null guards for findTouchAliasTarget uses
2021-04-21 09:08:28 +07:00
jahorton
e995a5cde1
docs(web): adjusts comments according to PR review
2021-04-20 14:01:46 +07:00
jahorton
0db5e9dc6d
change(web): only check for touch-aliases if touchable
2021-03-30 10:00:41 +07:00
jahorton
6c275ca9d3
change(web): adds code to assist diagnosis of #4797
2021-03-30 09:43:50 +07:00