3 ms·
enterkeyhint doesn't do anything on Chrome on Android. Which kind of illustrates why a lot of these things are not well-known. Why do something that that works
by nkozyra 5y ago
enterkeyhint doesn't do anything on Chrome on Android.
Which kind of illustrates why a lot of these things are not well-known. Why do something that that works on Firefox but not Chrome/Edge or on Safari/Firefox but not Chrome, etc? Specs are great, but near universal, reliably similar implementation is key.
In a lot of cases it means you have to build edge case UX. I'd rather lean on UX that's mostly under my control and not at the whim of browser adoption.
I did at least find some blink discussion on it: https://groups.google.com/a/chromium.org/g/blink-dev/c/Hfe5xktjSV8?pli=1 https://groups.google.com/a/chromium.org/g/blink-dev/c/Hfe5x...
- hackyhacky 5y agoAlthough your complaint about unsupported features is generally well-observed, in the case of this particular you feature, I believe you're wrong. This site suggests that enterkeyhint is supported on Chrome: https://caniuse.com/mdn-html_global_attributes_enterkeyhint https://caniuse.com/mdn-html_global_attributes_enterkeyhint My own testing also shows that it works. Using the "search" value of the attribute, I was able to change the enter button into a magnifying glass.