Skip to content

Commit

Permalink
Merge pull request #40273 from nextcloud/fix/39434/sharing-select-bre…
Browse files Browse the repository at this point in the history
…aking-focus-trap-with-viewer
  • Loading branch information
Pytal authored Sep 5, 2023
2 parents 0409ae0 + cc7d155 commit 9df4da8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 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
1 change: 0 additions & 1 deletion dist/2765-2765.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions dist/2765-2765.js → dist/894-894.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/894-894.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 9df4da8

Please sign in to comment.