-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Edge设置label换行后label不显示 #3892
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
@dlspacezero 有个临时方案:你可以在textWrap里加入text,参考这个https://codesandbox.io/s/fix-edgeshe-zhi-labelhuan-xing-hou-labelbu-xian-shi-3892-6ff3gx?file=/index.ts。 |
文字都挤到一块去了,是因为没有设置label的高度嘛,不过我已经采用了g6的方案https://g6.antv.antgroup.com/zh/examples/item/label#labelLen1 |
@dlspacezero 对,要设置高度,不然可能获取到的高度为0 |
#3896) fix: edge does not display the label after setting the label and textWrap (#3892) Co-authored-by: qiufeihong <[email protected]>
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
问题描述
正常情况:
label不显示,异常的情况:
重现链接
https://codesandbox.io/s/smoosh-lake-5lq826?file=/index.ts
重现步骤
无
预期行为
边的label超出一定宽度时候,能够换行
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: