@jookia Yep,I have been there.13 break points & stack overflow still :( If callstack could talk,it would tell me in the best gandalf voice"Sawpy, Things have been set into motion, that cannot be undone" 😋.
@Simplyswapy In this case the issue turned out to be that unfocusing a dropdown menu would force the current selection, in case you had the menu open with an element selected. It would force the selection by calling the click() handler on the item in question.
Ifound the other day that jQuery's click() doesn't work on <a> elements. I fixed the code to always call click() properly. Which turns out to be a mistake as clicking a dropdown item refocuses he search box, locking you in a focus loop.
@Simplyswapy In this case the issue turned out to be that unfocusing a dropdown menu would force the current selection, in case you had the menu open with an element selected. It would force the selection by calling the click() handler on the item in question.
Ifound the other day that jQuery's click() doesn't work on <a> elements. I fixed the code to always call click() properly. Which turns out to be a mistake as clicking a dropdown item refocuses he search box, locking you in a focus loop.