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

tooltip应该有个width来控制宽度 #21618

Closed
wants to merge 1 commit into from

Conversation

bj-white
Copy link

您好,我是京东的一名coder,正在用您们的element-ui,感觉很棒,昨天测试提了一个bug说tooltip太长,导致全凭显示不换行,用户体验不好,是否可以考虑传入一个props来控制tooltip的宽度,希望能够采纳,谢谢

@KeyToLove
Copy link

通过popper-class设置tooltip class,可以满足你的需求。

@wangdaodao
Copy link
Contributor

设置class后,能用样式去控制尽量用样式控制并且还很灵活,不仅仅支持宽度,另外如果后期统一调整,改样式就可以。

@xinguanhua xinguanhua closed this Apr 11, 2022
@czzonet
Copy link

czzonet commented Aug 18, 2022

您好,我是京东的一名coder,正在用您们的element-ui,感觉很棒,昨天测试提了一个bug说tooltip太长,导致全凭显示不换行,用户体验不好,是否可以考虑传入一个props来控制tooltip的宽度,希望能够采纳,谢谢

小嘴巴拉巴拉的 真会说

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants