From eb2453d46fd3e561031bcc363867338c2ebe19d8 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Sat, 13 Jul 2019 00:08:02 +0200 Subject: [PATCH] use v-click-outside-x instead of v-click-outside looks like v-click-outside doesn't work on mobile (tested with chrome and firefox on android) since the dropdown menu is closed also when clicking a menu entry. --- package-lock.json | 8 ++++---- package.json | 2 +- src/App.vue | 12 ++++++------ src/components/createprojectbutton.vue | 2 +- src/components/rundetail.vue | 2 +- src/views/Org.vue | 18 +++++++++--------- src/views/Project.vue | 2 +- src/views/ProjectGroup.vue | 12 ++++++------ src/views/User.vue | 2 +- 9 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9b47cac..2e7f216 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11813,10 +11813,10 @@ "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", "dev": true }, - "v-click-outside": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/v-click-outside/-/v-click-outside-2.1.3.tgz", - "integrity": "sha512-8d11/fN+nkSPeor87K8OtGc/lDbRwbUiFwdzxQEGidlXt6eko3gIgRM7ghgi4p/zohF3Ja9hAaydAajV3gnlPQ==" + "v-click-outside-x": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-4.0.9.tgz", + "integrity": "sha512-sfbhSCugCQ4Bdi7aIT+Tv/0BgB5SPMDR+ogUhQJJBbsVVPijZJ+Z5lnZhi1sNI5D2vb3CoI0qhDNcTPo+V0SNA==" }, "validate-npm-package-license": { "version": "3.0.4", diff --git a/package.json b/package.json index 8b14fd1..6496189 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "ansi_up": "^4.0.3", "moment": "^2.23.0", "moment-duration-format": "^2.3.2", - "v-click-outside": "^2.1.3", + "v-click-outside-x": "^4.0.9", "vue": "^2.6.10", "vue-router": "^3.0.7", "vue2-filters": "^0.6.0", diff --git a/src/App.vue b/src/App.vue index 2deb946..f5f52a6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,7 @@ class="font-semibold flex items-center flex-shrink-0 text-xl tracking-tight" to="/" > - + Agola @@ -22,7 +22,7 @@ xmlns="http://www.w3.org/2000/svg" > Menu - + @@ -37,7 +37,7 @@ @click="createDropdownActive = !createDropdownActive" class="relative flex items-center focus:outline-none" > - +
{{user.username}}
  • - +
  • - + User Settings
  • @@ -125,7 +125,7 @@