Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changeSize后,tooltip辅助线高度未变化 #543

Closed
liuminghui2017 opened this issue Mar 29, 2019 · 1 comment · Fixed by #545
Closed

changeSize后,tooltip辅助线高度未变化 #543

liuminghui2017 opened this issue Mar 29, 2019 · 1 comment · Fixed by #545
Assignees
Labels
Milestone

Comments

@liuminghui2017
Copy link

  • F2 Version: 3.2.1
  • Platform:
  • Mini Showcase(like screenshots):
  • CodePen Link:

使用时在窗口onresize事件中,更新chart的宽高:
window.onresize = function() { chart.changeSize(window.innerWidth, window.innerHeight) }
问题来了,changeSize前一切正常:
image
changeSIze之后,tooltip高度未随之变化:
image
看了下API文档,未找到相关可以设置的东西

@liuminghui2017
Copy link
Author

现在找到一个变通方法是:changeSize前先关闭toolTip,changeSize后再重新开启toolTip;
暂时凑合着能用,但最好还是希望官方修复下

@simaQ simaQ self-assigned this Apr 2, 2019
@simaQ simaQ added the bug label Apr 2, 2019
@simaQ simaQ added this to the 3.3.9 milestone Apr 2, 2019
@simaQ simaQ mentioned this issue Apr 2, 2019
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants