Skip to content

Feature request - Add ability to enable / disable search autofocus and keyboard autoPopup #214

@PeterKucera

Description

@PeterKucera

Current behaviour

If search is enabled, component will automatically focus it and open keyboard, whenever user opens dropdown.

Since keyboard is automatically opened, users (on iOS) have to do 2 taps in order to select item from a dropdown (1 tap to hide a keyboard, 1 tap to select item).

This behaviour is enabled by default and can't be controlled.

Suggested behaviour

Add a flag that will allow parent components to enable/disable keyboard auto pop-up, and focus search field.

Prop could be called e.g. "searchAutofocusEnabled" and have a type boolean.

Would it be possible to add such a feature?

Thanks

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