mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #17197 from ahmedhamidawan/modal_selector_overflow_bug
[23.2] Fix Multiselect in BModal overflows out of view bug
This commit is contained in:
+8
-2
@@ -91,6 +91,7 @@
|
||||
id="change-dbkey-of-selected-content"
|
||||
title="Change Database/Build?"
|
||||
title-tag="h2"
|
||||
body-class="modal-with-selector"
|
||||
@ok="changeDbkeyOfSelected">
|
||||
<p v-localize>Select a new Database/Build for {{ numSelected }} items:</p>
|
||||
<DbKeyProvider v-slot="{ item: dbkeys, loading: loadingDbKeys }">
|
||||
@@ -99,7 +100,6 @@
|
||||
:loading="loadingDbKeys"
|
||||
:items="dbkeys"
|
||||
:current-item-id="selectedDbKey"
|
||||
class="mb-5 pb-5"
|
||||
@update:selected-item="onSelectedDbKey" />
|
||||
</DbKeyProvider>
|
||||
</b-modal>
|
||||
@@ -107,6 +107,7 @@
|
||||
id="change-datatype-of-selected-content"
|
||||
title="Change data type?"
|
||||
title-tag="h2"
|
||||
body-class="modal-with-selector"
|
||||
:ok-disabled="selectedDatatype == null"
|
||||
@ok="changeDatatypeOfSelected">
|
||||
<p v-localize>Select a new data type for {{ numSelected }} items:</p>
|
||||
@@ -116,7 +117,6 @@
|
||||
:loading="loadingDatatypes"
|
||||
:items="datatypes"
|
||||
:current-item-id="selectedDatatype"
|
||||
class="mb-5 pb-5"
|
||||
@update:selected-item="onSelectedDatatype" />
|
||||
</DatatypesProvider>
|
||||
</b-modal>
|
||||
@@ -347,3 +347,9 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.modal-with-selector {
|
||||
overflow: initial;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -101,6 +101,6 @@ defineExpose({
|
||||
|
||||
.upload-dialog-body {
|
||||
height: 500px;
|
||||
overflow: hidden;
|
||||
overflow: initial;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user