Skip to content
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

Cascader的menu中出现纵向滚动条时会被滚动条切掉一部分文字 #2515

Closed
GrayChoi opened this issue Jul 27, 2016 · 2 comments
Closed

Comments

@GrayChoi
Copy link
Contributor

GrayChoi commented Jul 27, 2016

本地环境

antd 1.6.5
chrome 49.0.2623.110 m
win 7

你做了什么?

使用Cascader展示大量item

你期待的结果是:

item文字不被切掉

实际上的结果:

weiqiediao
qiediao

可重现的在线演示

http://codepen.io/anon/pen/PzaWwz?editors=0010

我自己的对应方案

http://codepen.io/anon/pen/kXpgAq?editors=0010
我现在想到一个方案就是把label外面套一个div然后设置pdding-right这样文字就不会被滚动条切掉了。

@GrayChoi
Copy link
Contributor Author

谢谢对应,非常好,显示正常了! @afc163

@lock
Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant