ant-design / ant-design/pro-components

🐛[BUG]ProList 的 showActions, showExtra 无效

Open
#7,421 3 comments 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

### 🐛 bug 描述

ProList 的 showActions, showExtra 无效

### 📷 复现步骤

https://codesandbox.io/s/vhm95j

### 🏞 期望结果

鼠标 hover 到卡片上时显示 extra

### 💻 复现代码

![image](https://github.com/ant-design/pro-components/assets/6694695/5e5c4d42-c05d-46ea-aff3-f5db76e5c1a2)

### © 版本信息

- ProComponents 版本: [2.6.8]
- 浏览器环境 [Chrome 114.0.5735.198]
- 开发环境 [mac OS]

### 🚑 其他信息

![image](https://github.com/ant-design/pro-components/assets/6694695/798f4628-72f9-4857-a7e2-151a7ac6c04a)

Contributor guide

Open the contributing guide

Research direction

Start with the CodeSandbox reproduction linked in the issue and inspect the ProList implementation for the showActions and showExtra props. Confirm the behavior in ProComponents 2.6.8, then verify that hovering a card displays the expected extra content and actions.

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
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.