Vanessa 2023-12-24 11:11:07 +08:00
parent 44bc3c15ef
commit 5e50812b39
3 changed files with 68 additions and 47 deletions

View file

@ -705,6 +705,7 @@ export const openMenuPanel = (options: {
colId: target.parentElement.dataset.id
});
bindEditEvent({protyle: options.protyle, data, menuElement});
setPosition(menuElement, tabRect.right - menuElement.clientWidth, tabRect.bottom, tabRect.height);
event.preventDefault();
event.stopPropagation();
break;