Chrome on mobile ignores autocapitalize="none"

300 Views Asked by At

When I focus a text input field on Chrome on Android, the shift key is enabled ⇪, even though I set autocapitalize="none".

The input for this field is case-sensitive, so how can I help Android users to write lower-case strings by default?

1

There are 1 best solutions below

2
On

Tests

Tested on Android 10, Chrome v85.0.4183.127 with Gboard.

<input autocapitalize="off"></input>

Works as expected, not capitalizing a single word.

<input autocapitalize="none"></input>

Also works as expected, not capitalizing a single word.

Suggestion

You may want to try using autocapitalize="off" (seems to be more restrictive than none in the meaning of the word, but the spec states they should be the same).

Given that this works as expected for me, it is possible that your software keyboard software is being troublesome. Try downloading and checking with Gboard and see if that resolves your issue.