IE9中的jQuery slideDown-动画完成后内容消失 [英] jQuery slideDown in IE9 - content disappears after animation finishes

查看:71
本文介绍了IE9中的jQuery slideDown-动画完成后内容消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两个不同的站点上有过两次这个问题.它适用于IE9以外的所有浏览器.

I've had this problem twice on two different sites. It works in all browsers other than IE9.

我使用jQuery slideup和slideDown打开和关闭div(slideToggle发生相同的问题).当div向下滑动时,我可以看到它的内容,但是一旦动画停止,内容就会消失.

I have a div being opened and closed using jquery slideup and slideDown (the same problem happens with slideToggle). I'm able to see the content of the div as it slides down, but as soon as the animation stops, the content disappears.

这里是此问题的示例 http://www.ohnuts. com/searchResults.cfm?criteria = cashews& search = all 单击更多类别"链接.

Heres an example of this problem http://www.ohnuts.com/searchResults.cfm?criteria=cashews&search=all click on the "more categories" link.

其他任何人都遇到过此问题,并且有任何解决方法吗?我可以将其更改为只进行简单的显示/隐藏,效果很好,但我想保持其打开的效果.

Has anyone else experienced this problem, and are there any workarounds? I can change it to just do a simple show/hide, that works fine, but i'd like to keep the effect of it opening.

推荐答案

诚实的建议,不要解决

Honest suggestion here, don't fix it, report it as a bug to the IE9 team but don't spend any time fixing their bug.

这应该在IE9最终版中解决,最终结果只会浪费您的开发时间...测试版有问题,它们总是有问题,并且总是有问题...他们不会否则称为beta.

This should be fixed in IE9 final, and the end result will just be wasted development time on your end...betas are buggy, they've always been buggy and will always be buggy...they wouldn't be called betas otherwise.

这篇关于IE9中的jQuery slideDown-动画完成后内容消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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