ant-design / ant-design/pro-components

🐛[BUG]ProList在卡片List模式下, 如果通过renderItem自定义,gutter设置不生效

Open
#8,387 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

代码入下:
![image](https://github.com/ant-design/pro-components/assets/59326851/78facb8b-b64d-49f8-9608-54327e6a06a3)
实际效果如下
image

Contributor guide

Open the contributing guide

Research direction

Start with the ProList implementation and trace how the card List mode handles renderItem and gutter. Reproduce the reported case from the screenshots, then verify that gutter affects spacing when renderItem is customized.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.