Skip to content

Expose a downShiftProps prop for search components #516

@divyanshu013

Description

@divyanshu013

Issue Type:

Enhancement

Platform:

Web

Description:

The renderSuggestions prop works fine for rendering suggestions but it's still not possible to hook into the dropdown behavior since we can't customize it. For example, it's not possible to set the first suggestion as the default suggestion besides a lot of other use case. Although I still believe #355 is the way forward, we should include a downShiftProps prop for the Downshift component in search components.

Minimal reproduction of the problem with instructions:

Use a DataSearch and CategorySearch and try to make the first suggestion as the default suggestion.

Reactivesearch version: x.y.z

2.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue 👋Issues ideal to start contributing to this repohacktoberfestGood for new contributors in celebration of hacktoberfestidea 🤔Discuss new ideas or feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions