Skip to content

Commit

Permalink
fix(files_sharing): remove adding select to focus trap on open
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Sep 5, 2023
1 parent 2018c72 commit 43bcb0f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/files_sharing/src/components/SharingInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }">
Expand All @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 43bcb0f

Please sign in to comment.