Prevent DOM event race conditions when clicking on a filter bar suggestion
Closes #841 (closed)
Clicking on a suggestion caused two events: a blur
event on the FilterInput
then a click
event on the suggestion. The blur
event was used to hide the suggestions whenever focus is lost on the input, so the suggestion disappears before it can be clicked.
I didn't want to add yet another hack, so instead there will be a minor annoyance when using the Tab key to move around since the suggestions will stay opened.
Edited by Erwan Rouchet