moroshko / react-autosuggest

WAI-ARIA compliant React autosuggest component

Home Page:http://react-autosuggest.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

renderInputComponent maintain highlight functionality

jakounter opened this issue · comments

Are you reporting a bug?

Observed behaviour: When we renderInputComponent with out own styled input, we loose the on change triggered by the up/down arrow and enter keys. What do we need to include into our custom input to still trigger those?

Expected behaviour: arrow key highlighting works with rendered text inputs

Are you making a feature request?

  • Please describe your use case from user journey point of view, e.g.:

    In my application, when developer is using a custom input component via renderInputComponent will still trigger onchange via up/down and tab/enter keys

  • If you have ideas how to extend the Autosuggest API to support your new feature, please share!

  • If you know any examples online that already implement such functionality, please share a link.