om-mantras
om-mantras copied to clipboard
Selectable doesn't allow you to dismiss dropdown
You could approach this with one or more of:
- Treat clicks in input field as a toggle instead of just show
- Use mouse leave events on the dropdown
- Attach/detach mouse event listener to document on mount/unmount (not sure how jQuery does namespaced event handlers, but like that)...then you could detect mouse clicks outside of the dropdown.