Allow esc key to close search input

This commit is contained in:
Max Leiter 2021-11-18 13:27:52 -08:00
parent 54d1be6b29
commit 58110189fe
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -9,6 +9,7 @@
class="input"
placeholder="Search messages…"
@blur="closeSearch"
@keyup.esc="closeSearch"
/>
</div>
<button