You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/03/28 13:42:02 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #18435: [Feature] 指定Tooltip的父节点

echarts-bot[bot] commented on issue #18435:
URL: https://github.com/apache/echarts/issues/18435#issuecomment-1486913968

   @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. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **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')
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org