-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use props.customListComponent? #155
Comments
I'm still sort of struggling through this as there's not a lot of documentation about it. Specifically getting the arrow keys to work and suppress the tab key event which currently submits the form! In the most basic implementation, though, you just have to ensure that the items that list out your options have an onClick binding which calls the onOptionSelected function which is passed through, and passes it the option that has been clicked on. i.e: Chuck that on each |
This is how i use it:
|
I'm also having trouble getting accessibility to work when using CustomListComponent as well. It looks like the onKeyDown doesn't read any arrow up or down events. Has anyone been able to replicate the accessibility? |
It seems that the default functionality breaks when you use
props.customListComponent
. Is there any custom configuration that has to be done in order to get this to work?For instance, when you type a value in the input and press the
TAB
key, there is an error, arrow keys don't work, and you can't click on a selection.The text was updated successfully, but these errors were encountered: