jQuery SlideDown 和 Up - Firefox 问题
我在使用 Firefox 时遇到问题,当使用 SlideUp 和 SlideDown 显示/隐藏时,字段集的内容会与下面的内容重叠。
字段集有一些包含表单元素的段落。当首次使用 SlideDown 显示表单时,当字段集滑入视图时,表单内容似乎覆盖了下面的内容。 SlideUp 的情况正好相反。
有谁知道为什么会出现这种情况?
编辑:在 Chrome、Safari 和 IE 中进行测试,在这些浏览器中运行良好。绝对是 FF 特有的。
I'm having an issue with Firefox and the contents of a fieldset overlapping the content beneath when shown/hidden using slideUp and slideDown.
The fieldset has some paragraphs containing form elements. When it's first shown using slideDown, the form content appears to overlay the content beneath as the fieldset slides into view. The same happens in reverse with slideUp.
Anyone know why this may be the case?
Edit: Testing in Chrome, Safari and IE, and it works fine in these browsers. Definitely FF specific.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有同样的问题。这是因为在 Firefox 中,Fieldset 不受 Overflow:hidden lame 的影响...
只需应用以下内容并亲自查看:
解决方案...使用 div
I'm having the same issue. It's because in Firefox, Fieldset isn't affected by overflow:hidden lame...
Just apply the following and see for yourself:
Solution... Use a div