mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-11 01:00:07 +09:00
chore: improve reaction picker behaviour
This commit is contained in:
parent
7674a62d40
commit
af280f52ab
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user