Introduce wrap option to disable wraping if set to false#2
Introduce wrap option to disable wraping if set to false#2andysprout wants to merge 2 commits intomoroshko:masterfrom
wrap option to disable wraping if set to false#2Conversation
|
Thanks for the PR! From what I can see, you would like to achieve the following:
I explicitly avoided this behaviour when implementing react-autosuggest because of the following WAI-ARIA guideline for autocomplete components:
Also, I noticed that in a native Do you have any accessibility guidelines that you follow while implementing the mentioned select box? Do you know any reputable sites that implement the behaviour you are trying to achieve? |
|
Thanks for your reply. Sorry I didn't write a more comprehensive description, you are correct about what I am trying to achieve. I'm definitely not an expert on ARIA, so thanks for pointing me at the correct section. It's probably more correct to not wrap the highlighted suggestion. What do you think about changing the option from I really like react-autosuggest, the theming and aria compliance are much better than all the select libraries I have found. I hope to have something working today. |
wrap option to disable wraping if set to false
|
@andysprout Sorry, I'll pass on this one. I feel like extending |
|
No worries, at first I thought it was going to be a small change, but as I carried on the change required grew and grew. This was for a project my team needed anyway so we're continuing to use our fork build for now. |
Required to mimic select behaviour.
I'm currently trying to extend your react-autosuggest component to mimic a select box.