-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
enable tooltip when content overflows table cell #1396
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
Conversation
Deploy preview for ant-desing-vue processing. Building with commit 6831edb https://app.netlify.com/sites/ant-desing-vue/deploys/5dc55a49d6f7780007fb5458 |
Codecov Report
@@ Coverage Diff @@
## master #1396 +/- ##
==========================================
+ Coverage 87.88% 88.01% +0.12%
==========================================
Files 156 156
Lines 5392 5392
Branches 1521 1521
==========================================
+ Hits 4739 4746 +7
+ Misses 583 576 -7
Partials 70 70
Continue to review full report at Codecov.
|
根据之前的反馈,我猜你这个应该不会合并,因为 react 版本的 antd 没有这个功能。。。 所以如果想添加新 feature ,最有效的方法是去 react 版本 pr, 这边会进行同步 🤦♂ |
新增了 column.ellipsis 和 transformCellText 可以满足这类功能 |
@tangjinzhou 怎么实现,能举个例子吗 |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
[中文版模板 / Chinese template]
This is a ...
What's the background?
API Realization
Basic thought of solution and other optional proposal.
when enabling
showOverflowTooltip
for a column, this column gets a tooltip rendered. But if its content does not overflows, the tooltip is hided.List final API realization and usage sample.
add a new prop to column attribute:
showOverflowTooltip
. usage:None.
What's the effect?
Does this PR affect user? Which part will be affected?
compatible.
What will say in changelog?
enable tooltip when add new attribute to column
showOverflowTooltip
Does this PR contains potential break change or other risk?
None.
Changelog description
English description
enable tooltip when add new attribute to column
showOverflowTooltip
Chinese description
表格列增加新属性:
showOverflowTooltip
.Self Check before Merge
Additional Plan? (Optional if not new feature)