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

[t-tree] 可选择的树,在树宽度不足的情况下,选择框会被压扁 #1731

Open
QAQCup opened this issue Feb 27, 2024 · 6 comments
Assignees

Comments

@QAQCup
Copy link

QAQCup commented Feb 27, 2024

tdesign-common 版本

1.0.0

重现链接

https://tdesign.tencent.com/vue-next/components/tree

重现步骤

image

期望结果

选择框正常显示,后面的文字可以超出部分隐藏

实际结果

选择框没有正常显示

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link

👋 @QAQCup,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link

♥️ 有劳 @xiaosansiji 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @QAQCup

@HaixingOoO
Copy link
Collaborator

您好,checkbox 缩放了,这个好解决,我想问一下强制设置Tree宽度的原因?

@QAQCup
Copy link
Author

QAQCup commented Feb 27, 2024

树的数据是用户自己添加的,不好确定字数,为了不影响页面上其它地方的样式,只好给树设置一下宽度,页面左侧是树,右侧是其他内容

树的数据是用户自己添加的,不好确定字数,为了不影响页面上其它地方的样式,只好给树设置一下宽度,页面左侧是树,右侧是其他内容

@HaixingOoO
Copy link
Collaborator

树的数据是用户自己添加的,不好确定字数,为了不影响页面上其它地方的样式,只好给树设置一下宽度,页面左侧是树,右侧是其他内容

修复的demo: https://stackblitz.com/edit/2jhzn9?file=src%2Fdemo.vue
你可先这样加样式修复,后续更新就可以删掉样式!!!

@QAQCup
Copy link
Author

QAQCup commented Feb 28, 2024

收到,谢谢!

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

3 participants