mirror of
https://github.com/nextcloud/server.git
synced 2026-02-14 08:14:47 -05:00
Merge pull request #40273 from nextcloud/fix/39434/sharing-select-breaking-focus-trap-with-viewer
This commit is contained in:
commit
9df4da86ff
7 changed files with 7 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
1
dist/2765-2765.js.map
vendored
1
dist/2765-2765.js.map
vendored
File diff suppressed because one or more lines are too long
6
dist/2765-2765.js → dist/894-894.js
vendored
6
dist/2765-2765.js → dist/894-894.js
vendored
File diff suppressed because one or more lines are too long
1
dist/894-894.js.map
vendored
Normal file
1
dist/894-894.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue