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
@viking7982 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Feature] Specifies the parent node of the Tooltip
BODY
What problem does this feature solve?
The parent component of echarts has overflow:hidden set, so tooltips need to be inserted outside the parent component.
Although body insertion is now supported, the scrolling element of our business is not the body, so inserting it into the body cannot meet the requirements.
Therefore, it is hoped that the inserted DOM node can be specified.
What does the proposed API look like?
tooltip.getAppendElement: e => e.closest('.scroll-container')
What problem does this feature solve?
echarts的父组件设置了overflow:hidden,所以tooltips需要插入到父组件的外面。
虽然现在支持了body插入,但是我们业务的滚动元素不是body,所以插入到body也不能满足需求。
因此希望可以指定插入的DOM节点。
What does the proposed API look like?
tooltip.getAppendElement: e => e.closest('.scroll-container')
The text was updated successfully, but these errors were encountered: