[WIP] build(deps): update tippy.js
Created by: Tirokk
Authored by roschaefer Closed
🍰 Pullrequest
I've spent a considerable amount of time to try/error the correct way of integrating tippy.js into tiptap. Here's what I came up with. It's probably not nice to destroy and recreate the tiptap context menu but I didn't know a better way to do it. The new API of tippy.js does not have instance.popperInstance.scheduleUpdate
method anymore.
There is the sticky plugin which should reposition the popper menu when the content or the reference object changes. I couldn't find a way to get the desired behaviour since it's calling the virtualNode.getBoundingClientRect()
4 times, and in the end, it's always at position 0/0 (top left corner) thus invisible. https://atomiks.github.io/tippyjs/plugins/
The original error message was that you cannot pass a normal object to tippy(object, { ... })
anymore. https://atomiks.github.io/tippyjs/misc/
Issues
- None
Todo
-
None