jordi fita mas
8c592cfe5e
Apparently i was only testing that control with tab, because clicking on any other non-focusable element (e.g., a table row) it did not add the new tag and would not dispatch the “numerus-tag-out” custom element, which is why i have seen it now. This is equivalent to AlpineJS’s @click.outside, and i was already using it for the multiselect dropdown. The isConnected check is because i probably found some cases in the dropdown’s handler, but i can not remeber now, but since AlpineJS does it too, i guess it is important. |
||
---|---|---|
.. | ||
fonts | ||
alpinejs@3.12.0.min.js | ||
htmx@1.8.6.min.js | ||
invoice.css | ||
numerus.css | ||
numerus.js | ||
numerus.svg |