diff options
author | Grigorii K. Shartsev <me@shgk.me> | 2023-09-05 15:42:50 +0200 |
---|---|---|
committer | Grigorii K. Shartsev <me@shgk.me> | 2023-09-05 22:15:29 +0200 |
commit | 1f6101d8a9559428603d25d4ed5139108ba299fb (patch) | |
tree | 9d3f1519cd62a194e150b490059e85b9fce78465 /apps/files_sharing/src/components/SharingInput.vue | |
parent | 0409ae0e68fde6dd83f0fa327c27c5d987dfc264 (diff) | |
download | nextcloud-server-1f6101d8a9559428603d25d4ed5139108ba299fb.tar.gz nextcloud-server-1f6101d8a9559428603d25d4ed5139108ba299fb.zip |
fix(files_sharing): select sharing in sidebar breaks Viewer focus trap
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index c5ed27477b6..8c4605cc75a 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -34,7 +34,6 @@ :clear-search-on-blur="() => false" :user-select="true" :options="options" - @open="handleOpen" @search="asyncFind" @option:selected="openSharingDetails"> <template #no-options="{ search }"> @@ -47,7 +46,6 @@ <script> import { generateOcsUrl } from '@nextcloud/router' import { getCurrentUser } from '@nextcloud/auth' -import { emit } from '@nextcloud/event-bus' import axios from '@nextcloud/axios' import debounce from 'debounce' import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js' @@ -156,11 +154,6 @@ export default { }, methods: { - handleOpen() { - // Fix dropdown not opening when viewer is open, see https://github.com/nextcloud/viewer/pull/1319 - emit('viewer:trapElements:changed', this.$refs.select.$el) - }, - async asyncFind(query) { // save current query to check if we display // recommendations or search results |