From af280f52abaac633465d047ea387c8222c901eec Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 28 Feb 2021 09:53:21 +0900 Subject: [PATCH] chore: improve reaction picker behaviour --- src/client/components/ui/modal.vue | 2 ++ 1 file changed, 2 insertions(+) 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';