93e8b8f4ba
* add failing tests to prove the outside-click issue * fix outside click when we have multiple menu's - We removed the `toggleMenu` since we only used it in a single spot, and had to do some side effect logic (focus & event.preventDefault). Wanted to make this consistent between React and Vue. - If, in the "outside click" logic we detect that we clicked on the button, we also ignore it. - If, we click on the button we will toggle the menu. Fixes: #18