This website requires JavaScript.
Explore
Pages
CI
Help
Register
Sign In
deblan-mirror
/
Choices
Watch
1
Star
0
Fork
You've already forked Choices
0
mirror of
https://github.com/Choices-js/Choices.git
synced
2024-06-01 21:42:30 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
9a37556d3f
Choices
/
public
/
assets
/
scripts
/
choices.min.js.LICENSE.txt
2 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-07 00:12:51 +01:00
/*! choices.js v10.2.0 | © 2023 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
Reference in a new issue
Copy permalink