ant-design / ant-design/pro-components

🐛[BUG] ProColumns 开启valueType: 'select' , ellipsis存在问题

Open
#8,978 0 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

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

Image

### 📷 复现步骤

{
title: '表单',
dataIndex: 'bizNo',
key: 'bizNoList',
valueType: 'select',
ellipsis: true,
copyable: true,
width: 180,
}

valueType: 'select',ellipsis: true,copyable: true
同时使用就会出现问题

### 🏞 期望结果

正常省略

### 💻 复现代码

### © 版本信息

- ProComponents 版本: 2.8.3
- umi 版本 4.0.0
- 浏览器环境 谷歌
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

No source file, test, or runnable reproduction is provided. Start with the ProColumns configuration using valueType 'select', ellipsis, copyable, and width 180 in ProComponents 2.8.3, then compare the rendered result with the expected normal truncation. Done means the combined options display ellipsis correctly in Chrome.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.