Skip to content

Commit

Permalink
fix: change content props in tippy()
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Nov 27, 2024
1 parent da59e2a commit a8e9e2a
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,
content: renderer.renderedComponent.el!,
showOnCreate: true,
interactive: true,
trigger: 'manual',
Expand Down

0 comments on commit a8e9e2a

Please sign in to comment.