Joshua Horton
dd3763b240
Merge pull request #11385 from keymanapp/fix/web/unexpected-null-element
2024-05-10 07:32:09 +07:00
Joshua A. Horton
e9631c4fb2
chore(web): adjustments per code review
2024-05-09 10:24:31 +07:00
Joshua A. Horton
4fe71921a1
fix(web): fixes illegal KMW event state - can't focus a null element
2024-05-07 09:11:51 +07:00
Marc Durdin
7a0ab01469
fix(web): support SVG elements when checking className
...
Fixes #11364 .
Instead of using `className` which may be of type `SVGAnimatedString` if
the element is an SVG element, use `getAttribute('class')`. As that
function can return `null` if the class attribute is not defined, use
optional chaining to avoid a new error...
Uses the same pattern in hardwareEventKeyboard.ts, although I suspect
the problem may never arise there.
I audited the uses of className in our KeymanWeb source and found only
these three instances which may be problematic. I have not searched
elsewhere.
2024-05-06 10:05:39 +07:00
Joshua A. Horton
8d2a1e8b93
change(web): longpress up-flick now has two components, requires greater distance
2024-04-29 08:53:32 +07:00
Joshua A. Horton
e686dbe67d
fix(web): longpress shortcut activation should be based on purely-northward component
...
change(web): stricter threshold for up-flick shortcut
2024-04-26 10:25:03 +07:00
Joshua A. Horton
37196b1103
chore(web): Merge branch 'beta' into fix/web/visible-empty-osk
2024-04-22 15:36:31 +07:00
Joshua Horton
122351bea4
Merge pull request #11277 from keymanapp/feat/web/gesture-engine-history
...
feat(web): add recent-history log to gesture engine
2024-04-22 15:29:44 +07:00
Joshua A. Horton
6fa3d907e1
chore(web): drops redundant builder-dependency from early gesture dev
2024-04-22 11:28:55 +07:00
Joshua A. Horton
7bf6826a64
feat(web): adds recent-history log to gesture engine + clean JSON version
2024-04-22 10:57:37 +07:00
Joshua Horton
09a65a497b
Merge pull request #11174 from keymanapp/change/web/init-osk-with-keyboard
...
change(web): initializes OSK with keyboard if available during init 🪠
2024-04-19 12:41:48 +07:00
Joshua A. Horton
770c9da3e9
fix(web): osk-view hidden by default on construction
2024-04-19 12:36:21 +07:00
Joshua Horton
801359ce72
Merge pull request #11235 from keymanapp/fix/web/empty-string-length-style
...
fix(web): default parse of length styling for empty string
2024-04-19 11:25:34 +07:00
Joshua A. Horton
c4b240ac2d
chore(web): applies PR suggestions
2024-04-19 09:22:03 +07:00
Joshua Horton
4772541d61
Merge pull request #11245 from keymanapp/fix/web/dropped-keys-on-rapid-typing
2024-04-18 21:01:21 +07:00
Joshua A. Horton
f4fe095f10
change(web): adjusts multitap timings
2024-04-18 11:58:13 +07:00
Joshua A. Horton
006151f054
fix(web): longpress cancellation on extra touch should not cancel the extra touch
2024-04-18 10:15:22 +07:00
Joshua A. Horton
b107daab22
chore(web): Merge branch 'beta' into change/web/init-osk-with-keyboard
2024-04-18 08:15:30 +07:00
Joshua Horton
67dfa93364
Merge pull request #11210 from keymanapp/fix/web/rotation-causes-osk-target-overlap
...
fix(web): now auto-scrolls if target element would be hidden after device rotation
2024-04-18 08:07:35 +07:00
Joshua A. Horton
1963ecfa11
change(web): drops need for closures to optimize layout-reflow
2024-04-17 12:58:05 +07:00
Joshua A. Horton
eead04351f
chore(web): simple layout reflow polish
2024-04-17 12:20:43 +07:00
Joshua A. Horton
c5c7efffe7
chore(web): drops added redundancy
2024-04-17 11:52:35 +07:00
Joshua A. Horton
0490777886
change(web): a more focused empty-string fix
2024-04-17 11:52:02 +07:00
Joshua A. Horton
7856b7082f
fix(web): default length-style parse for empty-string
2024-04-17 11:50:08 +07:00
Joshua A. Horton
b4ed832ed9
fix(web): fixes up-flick shortcut issue for longpress when keys support downflicks
2024-04-12 08:37:58 +07:00
Joshua Horton
ab0d225397
Merge pull request #11140 from keymanapp/change/web/anti-layout-reflow-thrashing
...
change(web): OSK optimization, improved responsiveness 🪠
2024-04-12 07:49:52 +07:00
Joshua A. Horton
7df368a143
fix(web): now auto-scrolls if target element would be obscured by OSK on device rotation
2024-04-11 11:36:10 +07:00
Joshua A. Horton
573ffd8924
chore(web): Merge branch 'refactor/web/layer-group-encapsulation' into feat/web/vkbd-layout-optimization
2024-04-10 14:45:46 +07:00
Joshua A. Horton
e7d7e1cc0c
chore(web): Merge branch 'beta' into refactor/web/layer-group-encapsulation
2024-04-10 14:45:01 +07:00
Joshua Horton
50f30b3794
Merge pull request #11175 from keymanapp/refactor/web/osk-spacebar-labeling
...
refactor(web): OSK spacebar-label updates now managed by layer object 🪠
2024-04-10 14:44:27 +07:00
Joshua A. Horton
5a55ee1c5d
fix(web): phone key-tip font scaling
2024-04-10 14:44:00 +07:00
Joshua A. Horton
7466b82893
fix(web): OSK now checks pred-text state on init
2024-04-10 11:04:56 +07:00
Joshua A. Horton
8261f7f9a0
chore(web): Merge branch 'feat/web/vkbd-layout-optimization' into change/web/anti-layout-reflow-thrashing
2024-04-08 10:08:53 +07:00
Joshua A. Horton
328900cf34
fix(web): refixes bad return case
2024-04-08 10:08:23 +07:00
Joshua A. Horton
c9d7a9e826
chore(web): Merge branch 'feat/web/vkbd-layout-optimization' into change/web/anti-layout-reflow-thrashing
2024-04-08 09:20:04 +07:00
Joshua A. Horton
5ca3794312
chore(web): better ref for spacebar key btn
2024-04-08 09:18:16 +07:00
Joshua A. Horton
bee64b6201
fix(web): key-height calc should be based on btn, not square
2024-04-08 09:12:33 +07:00
Joshua A. Horton
786c480742
fix(web): adds newly-needed null guards due to new pattern
2024-04-08 08:55:38 +07:00
Joshua A. Horton
bf130e36e0
fix(web): nearest-key row lookup when touch moves out-of-bounds
2024-04-05 14:09:14 +07:00
Joshua A. Horton
eebf3e5ba8
fix(web): OSK set activeKeyboard should not bypass during init
2024-04-05 13:07:16 +07:00
Joshua A. Horton
4b1394a54f
change(web): initializes OSK with keyboard if available during init
...
This prevents unnecessary construction of a stand-in touch layout and related DOM initialization on touch devices when fully leveraged.
2024-04-05 13:07:15 +07:00
Joshua A. Horton
c5953036e6
change(web): eliminates early redundant context reset
...
This one occurred during Promise fulfillment synchronously but outside OSK batching mode... with another call later _within_ OSK batching mode.
2024-04-05 12:55:31 +07:00
Joshua A. Horton
8cf0da476e
change(web): prevents one small reflow during kbd swap
2024-04-05 12:55:31 +07:00
Joshua A. Horton
1a59f9b90e
fix(web): handling of nested layout deferrals
2024-04-05 12:55:07 +07:00
Joshua A. Horton
04df7f76c8
feat(web): high-level layout op batching
...
Affects change of keyboards and context resets - particularly when new-context rules trigger a non-default layer
2024-04-05 12:54:55 +07:00
Joshua A. Horton
f21afb1476
docs(web): comment on recent code
2024-04-05 12:52:23 +07:00
Joshua A. Horton
8a21fbcbca
change(web): layer-specific refresh tweak
2024-04-05 12:49:11 +07:00
Joshua A. Horton
f2dba20c0d
fix(web): fixed width vs fixed height references
2024-04-05 12:44:52 +07:00
Joshua A. Horton
a6093c2c06
feat(web): VisualKeyboard layout-reflow optimization
2024-04-05 12:39:25 +07:00
Joshua A. Horton
9a016bb65b
refactor(web): better centralizes layer-group functionality and properties
2024-04-05 12:11:35 +07:00