-
Notifications
You must be signed in to change notification settings - Fork 326
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
[Typography] 中英文Ellipsis表现不一致,中文多行 row 属性不生效 #3152
Comments
👋 @chungguo,感谢给 TDesign 提出了 issue。 |
看起来是 |
这样英文就会被按字母切割,而不是单词,延续Truncate的实现思路的话,需要重新实现分字算法,兼容甚至可能存在的中英文混排 |
是的,也要join(''),測試過沒問題了 |
考虑国际化的话不同文字的逻辑还不一样,想想都难搞~ |
大佬666 |
fixed 1.9.3 |
重现链接
https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-jcz38l
重现步骤
无需操作
期望结果
中英文表现一致
实际结果
中文单行显示,英文符合预期
The text was updated successfully, but these errors were encountered: