Skip to content

Need to double tap an item to select #3

Closed
@kachnitel

Description

@kachnitel

Hello!
I'm trying to implement the picker in a modal with an adjacent TextInput and noticed that if I tap the text first (or autoFocus), I have to double tap the item to select.

I've gone and changed the ScrollView adding keyboardShouldPersistTaps={'handled'} and all works as expected.

Being in TS I'll have to do some more learning if you'd like me to submit a PR, but I've tested it in the "compiled" code and it fixes that issue, perhaps it could be optional if there's drawbacks? I imagine the prop could just be passed from the root component if that's the case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions