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

firefox20下按年份折叠和展开不正常 #2

Closed
jizhilong opened this issue Apr 29, 2013 · 2 comments
Closed

firefox20下按年份折叠和展开不正常 #2

jizhilong opened this issue Apr 29, 2013 · 2 comments
Assignees
Labels

Comments

@jizhilong
Copy link

Screenshot from 2013-04-29 23:11:54
这是两次点击demo站的2013年标签后呈现的结果,再次点击,内容不会折叠

@ghost ghost assigned deepgully Apr 30, 2013
@deepgully
Copy link
Owner

确认是bootstrap/firefox的bug

在firefox上, bootstrap collapse的div内容显示之后div本身还存在style="height:0px" 导致页面没有调整高度

多谢提醒,已经fix了, 做法是在调用collapse('show')之后再给div加上style="height:auto;"

@jizhilong
Copy link
Author

我之前用firebug调试了下,确实发现height这个属性变为0之后就一直不变,不过能力有限,尝试了几次没有解决~~

在 2013年4月30日下午8:17,gully notifications@github.com写道:

确认是bootstrap/firefox的bug

在firefox上, bootstrap collapse的div内容显示之后div本身还存在style="height:0px"
导致页面没有调整高度

多谢提醒,已经fix了, 做法是在调用collapse('show')之后再给div加上style="height:auto;"


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-17223604
.

吉志龙

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

No branches or pull requests

2 participants