在Firefox上的奇怪的页面bug [英] Strange page bug on firefox

查看:134
本文介绍了在Firefox上的奇怪的页面bug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用



更改:



.collapse.in {height:auto;}



< a class =accordion-toggledata-toggle =collapsedata-parent =#accordion2href =#collapseOne> Collapsible Group Item#1< / a>



< a class =accordion-toggledata-toggle =collapsedata-parent =#accordion2href =# collapseTwoaria-hidden =true> Collapsible Group Item#2< / a>


I'm using Choosen and Twitter Bootstrap in my project. Here is jsfiddle

http://jsfiddle.net/Wexcode/7HLyZ/3/

Try to open this jsFiddle on 2 browsers: Firefox and Chrome

On chrome it works just fine.

On firefox open link above. Press on first colapsible opener. It will hide (close) inner part then press it one more time to open: you will see that it shows only choosen, not inner div. Here is what I see after 3 times pressing (Firefox)

And here is how it should be (Chrome)

What am I missing? how to fix this problem?

解决方案

Check out this: http://jsfiddle.net/7HLyZ/35/

Changes:

.collapse.in {height: auto;}

<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">Collapsible Group Item #1</a>

<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo" aria-hidden="true">Collapsible Group Item #2</a>

这篇关于在Firefox上的奇怪的页面bug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆