You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a small issue when using this library when the suggestions list is given a max height and set to scroll when the number of suggestions would cause the height to go beyond this max height. Clicking the scroll bar would cause the suggestion list to collapse / disappear again as the event prevent default is only on the li elements in Suggestions.js
I have a simple fix ready to create a pull request where I add an event handler for the ul elements onmousedown which prevents the event from bubbling up.
Steps to recreate:
Update the suggestions ul styling to have overflows of scroll
Pass enough suggestions to cause the ul to be scrollable
Try to scroll the suggestions by clicking the scroll bar and dragging, rather than using a mouse wheel for example - the suggestions dropdown will close