Skip to content

Commit

Permalink
fix: use getter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Aug 16, 2024
1 parent 70291d9 commit 7969704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/tiptap/suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function createSuggestionRenderer(component: Component): SuggestionOptions['rend
popup = tippy(document.body, {
getReferenceClientRect: props.clientRect as GetReferenceClientRect,
appendTo: () => document.body,
content: renderer.element || undefined /* tiptap prefers undefined to null */,
content: () => renderer.element!,
showOnCreate: true,
interactive: true,
trigger: 'manual',
Expand Down

0 comments on commit 7969704

Please sign in to comment.