You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/07/14 03:37:58 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17377: [Bug] tooltip appendtobody后隐藏方式不合适会导致出现滚动条

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

   @toodiff 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**
   
   [Bug] Inappropriate hiding method after tooltip appendtobody will cause scroll bar to appear
   
   **BODY**
   
   ### Version
   
   5.0.2
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   The tooltip adopts the appendToBody method. It used display:none when it was hidden; now it is controlled with visibility and opacity, but the transform is not restored.
   
   ### Current Behavior
   
   If the echart diagram is in the lower right corner of the page, a scroll bar will appear when switching from a large screen to a small screen
   
   ### Expected Behavior
   
   It should still be more friendly to use display:none;, or restore the transform value, so as to avoid scroll bars when the screen is switched
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </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