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

[table] 拖动调整宽度,需设置最小宽度,宽度过小,文本显示不正常的情况 #929

Closed
LoopZhou opened this issue May 28, 2022 · 8 comments
Assignees
Labels
to be published fixed, not be published

Comments

@LoopZhou
Copy link
Collaborator

tdesign-vue 版本

0.4.15

重现链接

No response

重现步骤

官网固定表头和列的表格示例即可复现。拖动序号列和操作列到最小。

default.mp4

期望结果

fixed列有正常的文字遮挡效果。

实际结果

No response

框架版本

Vue(2.6.0)

浏览器版本

Chrome(99.0.4844.51)

系统版本

MacOS(10.15.7)

Node版本

12.22.0

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented May 28, 2022

♥️ 有劳 @realyuyanan @chaishi @cool-518 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @LoopZhou

@chaishi
Copy link
Collaborator

chaishi commented May 28, 2022

这也算问题吗?那可能整个组件的问题都太多了,处理不了

@chaishi
Copy link
Collaborator

chaishi commented May 28, 2022

看视频,很明显是操作者故意往非常小了拖

不知道要怎么做,才能符合大家的所有期望了

@chaishi chaishi changed the title [table] 拖动fixed列后样式异常 [table] 拖动fixed列后样式(待讨论)) May 28, 2022
@chaishi chaishi changed the title [table] 拖动fixed列后样式(待讨论)) [table] 拖动fixed列后样式(待讨论) May 28, 2022
@chaishi chaishi added the 💭 discussion we are discussing label May 28, 2022
@LoopZhou
Copy link
Collaborator Author

我觉得是默认拖动的最小30px太小了。
table每个单元格两边的padding就是24px了。 30px的默认限制能否增加到至少能够显示完整一个中文文字。

或者能不能在columns中增加一个拖动配置参数, 支持自定义该列拖动的最小宽度等。

@chaishi
Copy link
Collaborator

chaishi commented Jun 4, 2022

哦,最小宽度的话,可以内部加下

@chaishi chaishi removed the 💭 discussion we are discussing label Jun 4, 2022
@chaishi chaishi changed the title [table] 拖动fixed列后样式(待讨论) [table] 拖动调整宽度,需设置最小宽度,宽度过小,文本显示不正常的情况 Jun 4, 2022
@chaishi
Copy link
Collaborator

chaishi commented Jun 4, 2022

resolved in #952

@chaishi chaishi added the to be published fixed, not be published label Jun 4, 2022
@xiaosansiji
Copy link
Collaborator

已在 0.42.0 版本修复

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

No branches or pull requests

3 participants