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

2.0Tabs 是否可以支持根据TabPane的内容自动缩放 #3377

Closed
zhonggithub opened this issue Oct 11, 2016 · 7 comments · Fixed by #3437
Closed

2.0Tabs 是否可以支持根据TabPane的内容自动缩放 #3377

zhonggithub opened this issue Oct 11, 2016 · 7 comments · Fixed by #3437
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@zhonggithub
Copy link

  • antd 版本: 2.0.0
  • 操作系统及其版本: WIN7
  • 浏览器及其版本: Chrome V52

您做了什么?

您期待的结果是:如果有两个TabPane,第一个TabPane内容比较少,第二个TabPane内容比较多,从第一个切到到第二个,在从第二个切到第一个,会发现TabPane被撑大了,不会缩回到第一个TabPane的大小,是否需要自己写样式覆盖?

可重现的在线演示 http://codepen.io/zzcode/pen/NRrpwp

@afc163
Copy link
Member

afc163 commented Oct 11, 2016

确实是 bug 。

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Oct 11, 2016
@afc163 afc163 self-assigned this Oct 11, 2016
@yesmeck
Copy link
Member

yesmeck commented Oct 11, 2016

react-component/tabs#35

@abbish
Copy link

abbish commented Oct 12, 2016

+1

@dreamcatcher081210
Copy link

+1,顺带提一句,楼主的codeopen,点了三四下,果断致盲,好了,不说了,我去看医生了。

@zhonggithub
Copy link
Author

zhonggithub commented Oct 12, 2016

哈哈~~, sorry, 我应该换个背景色

@plandem
Copy link
Contributor

plandem commented Oct 12, 2016

probably connected with #3304

@lock
Copy link

lock bot commented May 3, 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 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants