mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +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}
|
* @return {void}
|
||||||
*/
|
*/
|
||||||
toggleDropdown (event) {
|
toggleDropdown (event) {
|
||||||
const targetIsNotSearch = event.target !== this.$refs.search;
|
const targetIsNotSearch = event.target !== this.searchEl;
|
||||||
if (targetIsNotSearch) {
|
if (targetIsNotSearch) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user