You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tooltip and its derived components like Link Tooltip, is always mounted in milkdown container. This is not suitable when milkdown container or its ancestors has style like overflow: hidden:
Solution
We can provide an extra option like mount to specify a mount node, so users can mount tooltip element into a specified element ( for example, document.body).
If this proposal is acceptable, I can submit a PR.
Alternatives
No
The text was updated successfully, but these errors were encountered:
Initial checklist
Problem
milkdown/packages/plugins/plugin-tooltip/src/tooltip-provider.ts
Line 91 in c7218bf
Tooltip and its derived components like Link Tooltip, is always mounted in milkdown container. This is not suitable when milkdown container or its ancestors has style like
overflow: hidden
:Solution
We can provide an extra option like
mount
to specify a mount node, so users can mount tooltip element into a specified element ( for example,document.body
).If this proposal is acceptable, I can submit a PR.
Alternatives
No
The text was updated successfully, but these errors were encountered: