1
0
Fork 0
mirror of https://github.com/elk-zone/elk.git synced 2025-02-20 01:09:48 +03:00

fix: change content props in tippy()

This commit is contained in:
TAKAHASHI Shuuji 2024-11-27 18:36:36 +09:00
parent 64e0d7468d
commit 0281bacda8

View file

@ -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',