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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user