Choices/public/types/src/scripts
Kris Reeves f73a16f383
Fix various "first press" bugs on single select dropdowns
On OS X, pressing the command key while a Choices select is focused
will add the text "meta". While looking into the details, I found
quite a few more errors surrounding the "first keypress" behavior.
When a closed select is focused, the following things generate
incorrect behavior:

- Any key while shift was previously held: the first character
  is incorrectly capitalized/lowercased
- If the keypress begins a "compose" input (e.g. option+` on mac)
  the value will be "dead"
- Various other non-printable keys also emit output, such as
  the arrow keys, media keys, etc.

Fix the entire category of behavior by better evaluating what
counts as a "printable" character.
2023-02-06 15:20:13 -08:00
..
actions Add typings and declaration maps 2021-12-26 16:38:09 -05:00
components Upgrade to Fuse v6 2021-12-31 18:11:45 -05:00
interfaces Merge branch 'master' into feature/custom-properties 2022-11-28 11:43:15 -05:00
lib Build public code 2022-03-14 15:57:05 +01:00
reducers Update dependencies, add e2e tests for HTML custom properties 2022-11-28 11:36:04 -05:00
store Add typings and declaration maps 2021-12-26 16:38:09 -05:00
choices.d.ts Build public code 2022-03-14 15:57:05 +01:00
choices.d.ts.map Fix various "first press" bugs on single select dropdowns 2023-02-06 15:20:13 -08:00
choices.test.d.ts Add typings and declaration maps 2021-12-26 16:38:09 -05:00
choices.test.d.ts.map Add typings and declaration maps 2021-12-26 16:38:09 -05:00
constants.d.ts Add typings and declaration maps 2021-12-26 16:38:09 -05:00
constants.d.ts.map Add typings and declaration maps 2021-12-26 16:38:09 -05:00
constants.test.d.ts Add typings and declaration maps 2021-12-26 16:38:09 -05:00
constants.test.d.ts.map Add typings and declaration maps 2021-12-26 16:38:09 -05:00
defaults.d.ts Add typings and declaration maps 2021-12-26 16:38:09 -05:00
defaults.d.ts.map Add option labelId to improve a11y (#971) 2022-01-18 17:07:07 -05:00
templates.d.ts Update dependencies, add e2e tests for HTML custom properties 2022-11-28 11:36:04 -05:00
templates.d.ts.map Update dependencies, add e2e tests for HTML custom properties 2022-11-28 11:36:04 -05:00
templates.test.d.ts Add typings and declaration maps 2021-12-26 16:38:09 -05:00
templates.test.d.ts.map Add typings and declaration maps 2021-12-26 16:38:09 -05:00