jQuery SlideDown在Firefox中闪烁 [英] jQuery SlideDown Flickering in Firefox

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

问题描述

再次出现一个jQuery,Firefox闪烁的问题。
(在IE6 / 7/8,Safari中不闪烁)

我在这里上传了一个示例页面:
http://sithlord.bplaced.net/testing/jquery_flickering/flickering.html



有两个div容器。内部的div是我藏起来的。
外层是带有样式元素的包装容器。
我发现闪烁只发生在选择框。但是那不是全部:
(我不能发布第二个超链接:与上面相同的链接;只是改变 flickering.htmlto not_flickering.html)

在这种情况下,我选择了一个较低的选项 - 正如您所看到的,在这种情况下,闪烁消失。
当总共有更少的选项时,情况也是如此。
(小于20)

我找到的唯一方法是删除选择框:



谢谢! / DIV>

溢出:隐藏;直接应用于包含div的作品。


once more a jQuery, Firefox flickering issue. (no flickering in IE6/7/8, Safari)

I uploaded an example page here: http://sithlord.bplaced.net/testing/jquery_flickering/flickering.html

There are two div containers. The inner div is the one I'm hiding. The outer one is the wraping container with the style elements. I found the flicker only occur with the selectbox. Without the SelectBox there is no flickering.

But thats not all: (I cant post a second hyperlink: its the same link as above; only change "flickering.html" to not_flickering.html)

In this case I selected a lower "option" - as you can see, the flicker disappears in this case. The same is happending, when there are less options in total. (less then about 20)

The only workaround I found is deleting the selectbox :)

Any ideas, why this is happening and how to fix it?

Thanks!

解决方案

overflow:hidden; applied directly to the containing div works.

这篇关于jQuery SlideDown在Firefox中闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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