Skip to content

Commit

Permalink
make UploadModal no-close-on-esc to allow escape events on multisel…
Browse files Browse the repository at this point in the history
…ects

Fixes #18440
  • Loading branch information
ahmedhamidawan committed Jul 22, 2024
1 parent e77f928 commit 6d58586
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/components/Upload/UploadModal.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script setup>
import { BModal } from "bootstrap-vue";
import { setIframeEvents } from "components/Upload/utils";
import { useConfig } from "composables/config";
import { useUserHistories } from "composables/userHistories";
Expand Down Expand Up @@ -71,13 +72,14 @@ defineExpose({
</script>
<template>
<b-modal
<BModal
v-model="showModal"
:static="options.modalStatic"
header-class="no-separator"
modal-class="ui-modal"
dialog-class="upload-dialog"
body-class="upload-dialog-body"
no-close-on-esc
no-enforce-focus
hide-footer>
<template v-slot:modal-header>
Expand All @@ -90,7 +92,7 @@ defineExpose({
:current-history-id="currentHistoryId"
v-bind="options"
@dismiss="dismiss" />
</b-modal>
</BModal>
</template>
<style>
Expand Down

0 comments on commit 6d58586

Please sign in to comment.