Merge pull request #40273 from nextcloud/fix/39434/sharing-select-breaking-focus-trap-with-viewer

pull/40014/head
Pytal 2 years ago committed by GitHub
commit 9df4da86ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      apps/files_sharing/src/components/SharingInput.vue
  2. 1
      dist/2765-2765.js.map
  3. 6
      dist/894-894.js
  4. 0
      dist/894-894.js.LICENSE.txt
  5. 1
      dist/894-894.js.map
  6. 4
      dist/files_sharing-files_sharing_tab.js
  7. 2
      dist/files_sharing-files_sharing_tab.js.map

@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save