mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
chore: improve reaction picker behaviour
This commit is contained in:
parent
d9710cb5c5
commit
99019c42d1
@ -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