mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-01 08:18:14 +09:00
fix(client): fix position calculation of nested context menu
This commit is contained in:
parent
dac4f68382
commit
f227091826
@ -44,6 +44,10 @@ function onChildClosed(actioned?: boolean) {
|
||||
}
|
||||
}
|
||||
|
||||
watch(() => props.targetElement, () => {
|
||||
setPosition();
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
setPosition();
|
||||
nextTick(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user