react-autosuggest
react-autosuggest copied to clipboard
Suggestion list is not closing if out suggestion is return custom component with button component or Link compoent
Reporting a bug?
https://codepen.io/hussainsaify/pen/qBmvvbb
-
Provide the steps to reproduce the issue, e.g.:
- Focus on the input field
- Suggestion will get loader by default.
- Click on the button 'test'
- Click outside somewhere
Observed behaviour: The suggestion list doesn't get closed.
Expected behaviour: Suggestions should get closed
Are you making a feature request?
use ref
Not bad