-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an inputmode
to show the "Numbers and Punctuation" view switchable to the alphabetical view
#3478
Comments
@dtapuska I think that's the intent, right? It's not a restriction on input, it's just an input hint. |
Yes that is the intent. The problem is this keyboard exposed in the input connection enums on Android. (see https://developer.android.com/training/keyboard-input/style.html) As it might be a state the the keyboard enters but doesn't necessarily present as a initial state. |
The |
WebKit was changed to show "PIN entry pad" - https://bugs.webkit.org/show_bug.cgi?id=197916 ... The previous behavior was perfect, seems (I didn't test), for my use case. |
inputmode
to show the "Numbers and Punctuation" view switchable to the alphabetical viewinputmode
to show the "Numbers and Punctuation" view switchable to the alphabetical view
Ouch. Such tying-to-a-particular-layout implementation is problematic. WebKit changed their virtual keyboard layout for the Since both stock keyboard on iOS and Android tie particular layout to a particular inputmode, perhaps the spec should ① specify minimum set of characters to be shown for each mode, ② or give an advice (or a warning) that user might not be able to input some characters that authors assume 😕? [1] https://bugs.webkit.org/show_bug.cgi?id=197916 |
Hello,
Is there any chance to see an
inputmode
to show the virtual keyboard which allows to input any character while showing the "Numbers and Punctuation" view by default? (what Chrome on Android does after a pressing of "?123" and iOS Safari does aswell according to the Internet)My use case is "AsciiMath" fraction (1/2), other characters are needed too. While most of the time users will input digits.
Thank you for working on this!
P.S.
I'm not very good at spec reading - I didn't catch at first, that inputmode MAY trigger a virtual keyboard which allows to input only a limited set of characters.
The text was updated successfully, but these errors were encountered: