Skip to content

TextInput's autoCapitalize changes inputType unexpectily. This is not mentioned in the docs. #4466

Closed
@voxlz

Description

@voxlz

Description

TextInput's autoCapitalize changes inputType unexpectily. This is not mentioned in the docs.

What is the problem?

I just spent an hour debugging why I'm losing certain keystrokes on android. It turns out that using the autoCapitalize flag will change the text input after the first input, casing a short period where inputs are not registered. This is quite unexpected and not really meantioned in the docs.

How can we address it?

Update the list of unsupported inputTypes to include the android only "visible-password", and add a description what happenes if do use them together (it will switch over to a supported inputType it seems)

Why is it important?

This is quite unexpected and will save time debugging.

Who needs this?

People who like me are trying to hide auto sugesstions will be forced to use "visible-password". I think it's good to explicity warn those developers against using autoCapitalize.

When should this happen (use version numbers if needed)?

I don't really know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleIssues/PR that are not getting much activity and are closer to be closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions