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

[Feature Request] 建议增加宫格可以左右滑动 #5415

Closed
hihuangwei opened this issue Jun 2, 2023 · 3 comments
Closed

[Feature Request] 建议增加宫格可以左右滑动 #5415

hihuangwei opened this issue Jun 2, 2023 · 3 comments

Comments

@hihuangwei
Copy link

这个功能解决了什么问题?

横向格数超过一定数量可以开启左右滑动

你期望的 API 是什么样子的?

横向格数超过一定数量可以开启左右滑动

@chenjiahan
Copy link
Member

这种场景是不是直接结合 Swipe 组件和 Grid 组件来使用比较合适,而不是在 Grid 里面去实现

@hihuangwei
Copy link
Author

hihuangwei commented Jun 3, 2023

这种场景是不是直接结合 Swipe 组件和 Grid 组件来使用比较合适,而不是在 Grid 里面去实现

TDesign 的实现是比较简单。正常页面显示4格,超出的部分希望可以开启横向滚动
https://tdesign.tencent.com/miniprogram/components/grid

@landluck
Copy link
Contributor

grid 目前实现存在问题,需要在 2.0 重构后增加该功能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants