diff --git a/client/src/components/History/Modals/SelectorModal.vue b/client/src/components/History/Modals/SelectorModal.vue index a15aedf55295..4c7be641955d 100644 --- a/client/src/components/History/Modals/SelectorModal.vue +++ b/client/src/components/History/Modals/SelectorModal.vue @@ -100,6 +100,17 @@ function selectHistories() { function setFilterValue(newFilter: string, newValue: string) { filter.value = HistoriesFilters.setFilterValue(filter.value, newFilter, newValue); } + +// hacky workaround for popovers in date pickers being cutoff +// https://github.com/galaxyproject/galaxy/issues/17711 +const modalBodyClasses = computed(() => { + return [ + "history-selector-modal-body", + showAdvanced.value + ? "history-selector-modal-body-allow-overflow" + : "history-selector-modal-body-prevent-overflow", + ]; +});