Is there a floating-ui
Equivalent to Tippy's appendTo
Option?
#6669
Unanswered
mgreystone
asked this question in
Questions & Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Tiptap v2, i was using Tippy's
appendTo
option in the React<FloatingMenu>
to implement a "portal-like" pattern--where the menu is attached to the DOM outside of the editor's DOM. This helps me solve problems withz-index
& stacking context that would otherwise result in the menu being overlapped by other elements on the page.For example...
In Tiptap v3, with the new
floating-ui
integration, i am struggling to find a similar option. The best i can tell, it seems like the floating menu element is eagerly attached to the editor's DOM, and i don't see away to attach to a different element.Is this possible with Tiptap v3?
Beta Was this translation helpful? Give feedback.
All reactions