fix: use getter
This commit is contained in:
parent
70291d932e
commit
796970415f
@ -109,7 +109,7 @@ function createSuggestionRenderer(component: Component): SuggestionOptions['rend
|
|||||||
popup = tippy(document.body, {
|
popup = tippy(document.body, {
|
||||||
getReferenceClientRect: props.clientRect as GetReferenceClientRect,
|
getReferenceClientRect: props.clientRect as GetReferenceClientRect,
|
||||||
appendTo: () => document.body,
|
appendTo: () => document.body,
|
||||||
content: renderer.element || undefined /* tiptap prefers undefined to null */,
|
content: () => renderer.element!,
|
||||||
showOnCreate: true,
|
showOnCreate: true,
|
||||||
interactive: true,
|
interactive: true,
|
||||||
trigger: 'manual',
|
trigger: 'manual',
|
||||||
|
Loading…
Reference in New Issue
Block a user