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 2021/12/27 04:09:58 UTC
[GitHub] [echarts] WeiShengv99 opened a new issue #16283: [Bug] tooltip appendToBody 的错误行为
WeiShengv99 opened a new issue #16283:
URL: https://github.com/apache/echarts/issues/16283
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
这种情况经常出现在 屏幕熄屏时间比较久的时候, 或者 该页面比较久未访问的时候。
很抱歉,不清楚稳定复现的步骤 。
可否限制tootip 元素的wrapper 的宽高 为0 ,不影响dom
### Current Behavior
某种情况下 会导致 tootip 计算的 transform 不在屏幕内,会是在当前页面大小下 ,这会导致 该dom 出现在 html 外,影响到页面的展示。

### Expected Behavior
页面下出现未知元素,影响到文档流的展示
### Environment
```markdown
- OS: macos
- Browser: chrome 版本 96.0.4664.110(正式版本) (arm64)
- Framework: react 17
```
### Any additional comments?
_No response_
--
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
[GitHub] [echarts] WeiShengv99 closed issue #16283: [Bug] tooltip appendToBody 的错误行为
Posted by GitBox <gi...@apache.org>.
WeiShengv99 closed issue #16283:
URL: https://github.com/apache/echarts/issues/16283
--
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
[GitHub] [echarts] echarts-bot[bot] commented on issue #16283: [Bug] tooltip appendToBody 的错误行为
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16283:
URL: https://github.com/apache/echarts/issues/16283#issuecomment-1001322100
@WeiShengv99 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] tooltip appendToBody error behavior
**BODY**
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
This situation often occurs when the screen has been turned off for a long time, or when the page has not been accessed for a long time.
Sorry, I don’t know the steps for stable reproduction.
Can the width and height of the wrapper of the tootip element be restricted to 0 without affecting the dom
### Current Behavior
Under certain circumstances, the transform calculated by tootip will not be on the screen, but will be under the current page size, which will cause the dom to appear outside the html, which will affect the display of the page.

### Expected Behavior
Unknown elements appear under the page, which affects the display of document flow
### Environment
```markdown
-OS: macos
-Browser: chrome version 96.0.4664.110 (official version) (arm64)
-Framework: react 17
```
### 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