Closed skylkw closed 1 month ago
The tooltip plugin has migrated from tippy to floating-ui because tippy has been deprecated. There're not many changes about API. You just need to add absolute data-[show=false]:hidden
to your tooltip container. Please check the updated example here: https://github.com/Milkdown/examples/commit/41cfac0540ac07dd5f1d3d7da846bb4dd7b9b123
Initial checklist
Affected packages and versions
@milkdown/plugin-tooltip": "^7.4.0"
Link to runnable example
No response
Steps to reproduce
Update milkdown/plugin-tooltip to the latest version.The react-tooltip in the examples is not working properly, as the tooltip remains visible constantly.
Expected behavior
![Uploading Snipaste_2024-07-09_13-55-02.png…]()
Actual behavior
![Uploading Snipaste_2024-07-09_13-55-02.png…]()
Runtime
Chrome
OS
Windows
Build and bundle tools
Vite