Skip to content

Commit 9df4da8

Browse files
authored
Merge pull request #40273 from nextcloud/fix/39434/sharing-select-breaking-focus-trap-with-viewer
2 parents 0409ae0 + cc7d155 commit 9df4da8

File tree

7 files changed

+7
-14
lines changed

7 files changed

+7
-14
lines changed

apps/files_sharing/src/components/SharingInput.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
:clear-search-on-blur="() => false"
3535
:user-select="true"
3636
:options="options"
37-
@open="handleOpen"
3837
@search="asyncFind"
3938
@option:selected="openSharingDetails">
4039
<template #no-options="{ search }">
@@ -47,7 +46,6 @@
4746
<script>
4847
import { generateOcsUrl } from '@nextcloud/router'
4948
import { getCurrentUser } from '@nextcloud/auth'
50-
import { emit } from '@nextcloud/event-bus'
5149
import axios from '@nextcloud/axios'
5250
import debounce from 'debounce'
5351
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
@@ -156,11 +154,6 @@ export default {
156154
},
157155
158156
methods: {
159-
handleOpen() {
160-
// Fix dropdown not opening when viewer is open, see https://github.com/nextcloud/viewer/pull/1319
161-
emit('viewer:trapElements:changed', this.$refs.select.$el)
162-
},
163-
164157
async asyncFind(query) {
165158
// save current query to check if we display
166159
// recommendations or search results

dist/2765-2765.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/2765-2765.js renamed to dist/894-894.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/894-894.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-files_sharing_tab.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)