Closed duizendnegen closed 7 years ago
Thanks, that makes sense. Looks like your editor is set to tabs but the file uses spaces, so it's making the diff look out of whack. Would you mind correcting that? (I need to add an .editorconfig file to the repo.)
Yep, done.
Re-opening #91
These changes poll whether
event.preventDefault()
has been called when hiding the dropdown, to allow programatically opting out of hiding it. The use case for this is to allow in certain cases the dropdown to stay open when an area outside of the dropdown has been clicked - for example, another div that is not necessarily contained in the dropdown div.