ant-design / ant-design/pro-components
🐛[BUG] ProTable 表格内中文复制粘贴出来后文字后面会有一段空格
- 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 描述
ProTable 表格内中文鼠标左键连续点击全选中后,复制粘贴出来文字后面会有一段空格
### 📷 复现步骤
表格内中文,鼠标左键三连击全选中后,ctrl + c 复制,然后ctrl + v 粘贴在 搜索条件中的input输入框里面,文字后面会有一串空格,每次都需要删掉空格后才能再点击搜索
### 🏞 期望结果
期望只复制出文字,以便于复制粘贴后可以直接搜索
### 💻 复现代码
### © 版本信息
- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start with the ProTable entry point and reproduce the issue by selecting Chinese text, copying it, and pasting it into a search input. Trace the table's text-selection and copy behavior; done means pasted Chinese text has no trailing spaces and can be searched without manual cleanup.
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
- 42/100