mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 07:26:29 +09:00
chore: improve reaction picker behaviour
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user