2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

fix(search-slot): use computed property as reference to search el (#1254)

This commit is contained in:
Rohith K P
2020-08-11 21:27:36 +05:30
committed by GitHub
parent 2615fa1411
commit 8ccd336b0d
+1 -1
View File
@@ -735,7 +735,7 @@
* @return {void}
*/
toggleDropdown (event) {
const targetIsNotSearch = event.target !== this.$refs.search;
const targetIsNotSearch = event.target !== this.searchEl;
if (targetIsNotSearch) {
event.preventDefault();
}