Closed asharonbaltazar closed 4 years ago
So maybe just the search-wrapper
?
@asharonbaltazar Yes, that should work.
We can do something like e.target.classList.contains("search-wrapper")
I have no idea why results.svelte is being pushed as well...
Looks good, Thanks for the PR @asharonbaltazar
Addresses issue #6. I've added a simple event listener for the window, which if
e.target.className === "search-wrapper svelte-xswngh"
, the close function will fire off.