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-upload] 希望t-upload可以新增单行模式,设置横向滑动 #3294

Open
Stevesaixu opened this issue Nov 19, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@Stevesaixu
Copy link

Stevesaixu commented Nov 19, 2024

这个功能解决了什么问题

目前当图片超过4张就会换行,无法在单行中容纳更多图片,如果使用grid-config配置了超过4张图片,就会出现每张的宽度被压缩,所以只能接受换行
如果可以支持单行模式,当超过4张图片时,支持可以横向滑动,那么就更方便实现类似小红书笔记编辑页面的功能,图片组件是单行的,就可以不用关心换行的问题,也就可以不用关心textarea在页面中高度变化的问题

你建议的方案是什么

我建议可以支持单行模式,当超过4张图片时,就支持单行滑动

Copy link
Contributor

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

@anlyyao anlyyao added the enhancement New feature or request label Nov 19, 2024
@anlyyao
Copy link
Collaborator

anlyyao commented Nov 19, 2024

@Stevesaixu 感谢反馈,是一个很好的建议 🚀

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

No branches or pull requests

2 participants