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

textWrap失效 #4151

Open
donghuizhou opened this issue Jan 11, 2024 · 0 comments
Open

textWrap失效 #4151

donghuizhou opened this issue Jan 11, 2024 · 0 comments

Comments

@donghuizhou
Copy link

问题描述

自定义节点中设置了label的textWrap:{width: 200, ellipsis: true, breakWord: true},业务场景时,页面打开时,不显示画布,切到某个按钮时,才显示画布,这时发现设置了截断的那个节点,没有截断,文字长度超出了
image
此时点击title后面的全选按钮,样式又恢复正常了
image
部分代码:
image

image
image

重现链接

重现步骤

如上

预期行为

如上

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant