Choices/public
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
..
assets Fix various "first press" bugs on single select dropdowns 2023-02-06 15:20:13 -08:00
test Update dependencies, add e2e tests for HTML custom properties 2022-11-28 11:36:04 -05:00
types Fix various "first press" bugs on single select dropdowns 2023-02-06 15:20:13 -08:00
index.html Update dependencies, add e2e tests for HTML custom properties 2022-11-28 11:36:04 -05:00
robots.txt Prevent test directory being indexed 2018-10-28 09:40:50 +00:00