fix mention component

This commit is contained in:
Nevo David 2026-03-26 00:50:55 +07:00
parent d8386efc52
commit 6aa5bf3591

View file

@ -117,6 +117,10 @@ const MentionList: FC = (props: any) => {
};
const updatePosition = (editor: any, element: any) => {
if (!editor?.view || !element) {
return;
}
const virtualElement = {
getBoundingClientRect: () =>
posToDOMRect(