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

Tabs选项卡高度不一致,无法自适应 #387

Closed
chenqizheng opened this issue Oct 17, 2016 · 4 comments
Closed

Tabs选项卡高度不一致,无法自适应 #387

chenqizheng opened this issue Oct 17, 2016 · 4 comments
Assignees

Comments

@chenqizheng
Copy link

Tabs选项卡高度不一致时有bug

本地环境

  • antd-mobile 版本:0.9.2
  • 操作系统及其版本:MacOS Sierra
  • 浏览器及其版本:Chrome 53.0.2785.143 (64-bit)

你做了什么?

在Tabs开启切换动画时,pane内容高度不一致的时候,切换选项卡页没有重绘高度。Tabs下方组件挤下。

你期待的结果是:

能够自适应TabPane的高度,和不开启动画一个效果

实际上的结果:

开启切换动画不能自适应TabPane的高度

可重现的在线演示

先切到选项卡3,然后切会选项卡1,高度没有自适应。
https://codepen.io/chenqizheng/pen/dpqdpA

@benjycui
Copy link
Contributor

Ref: ant-design/ant-design#3377

silentcloud added a commit that referenced this issue Nov 2, 2016
@silentcloud
Copy link
Contributor

fixed in 9727577

@afc163
Copy link
Member

afc163 commented Dec 20, 2016

高度 0 会有问题,拖拽时其他页面显示不出来。

afc163 added a commit that referenced this issue Dec 20, 2016
afc163 added a commit that referenced this issue Dec 20, 2016
@lock
Copy link

lock bot commented May 28, 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 28, 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

4 participants