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

[cell] t-cell-group内部最后一个t-cell指定bordered=true时也无法显示下边框 #2204

Closed
china-live opened this issue Jul 18, 2023 · 5 comments
Assignees
Labels
question This is a question, not a bug

Comments

@china-live
Copy link

tdesign-miniprogram 版本

1.1.12

重现链接

No response

重现步骤

表单内t-cell-group内有2个t-cell 和1个t-input,t-cell 在前,t-input在后、第二个t-cell 无法显示下边框。即使指定bordered=true也无法显示下边框。

期望结果

No response

实际结果

No response

基础库版本

2.30.0

补充说明

No response

@github-actions
Copy link
Contributor

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

@deajax
Copy link

deajax commented Jul 28, 2023

这个问题确实比较困扰,不止cellgroup,cell也是,应该是哪怕是lastchild,也应该可以通过判断border或其他什么属性来强制控制它的

@anlyyao
Copy link
Collaborator

anlyyao commented Aug 4, 2023

@china-live @deajax 收到反馈,我来跟进一下~

@anlyyao anlyyao self-assigned this Aug 4, 2023
@anlyyao
Copy link
Collaborator

anlyyao commented Aug 4, 2023

这个问题确实比较困扰,不止cellgroup,cell也是,应该是哪怕是lastchild,也应该可以通过判断border或其他什么属性来强制控制它的

cell 的border是受bordered控制哈,只是在cellGroup中,最后一项cell取消了border

@anlyyao anlyyao added the question This is a question, not a bug label Aug 4, 2023
@anlyyao
Copy link
Collaborator

anlyyao commented Aug 4, 2023

@china-live 我刚刚重新看了一下视觉和API实现,也参考了其他业务组件库,目前cellGroup内最后一项cell取消border是比较合理的,也符合更多的场景需要,这不是一个bug。如果你的场景最后一项必须带border,建议自己包cell,弃用cellGroup。

@anlyyao anlyyao closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

3 participants