diff --git a/src/client/components/ui/modal.vue b/src/client/components/ui/modal.vue index 03be437071..e9f5645a73 100644 --- a/src/client/components/ui/modal.vue +++ b/src/client/components/ui/modal.vue @@ -135,6 +135,8 @@ export default defineComponent({ if (top > rect.top + (this.fixed ? 0 : window.pageYOffset)) { this.transformOrigin = 'center top'; + } else { + this.transformOrigin = 'center'; } popover.style.left = left + 'px';