Skip to content

how to hide mobile keyboard after selection when searchable is True #727

Description

@jeromecc

Hello!

More of a question than an issue. This is not a bug.

My Select component has searchable={true}. Everything works perfectly according to standards BUT on mobile (tested on recent android) after searching for an item and selecting it by clicking (touching), it would be neat if the keyboard could be closed programmatically.

How could I achieve this? I'm trying to hack something by getting the element with on:focus, storing it, then calling element.blur() in the on:change function but maybe there is a more elegant solution?

Thanks for the great component and for your help.

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