slideToggle and css position in IE
|Reported by:||Alexis Gagnon <laatkeur@…>||Owned by:|
In all IE version (IE6 to IE9), the slideToggle, slideUp and slideDown functions don't work properly on unordered list when list items have a css position set to relative (and probably absolute and fixed, but you can see the real problem easily with position: relative). If no css position is set, it works fine.
Bug occurs using most jQuery versions I've tried, including the latest (1.7.1), in all versions of IE from IE6 to IE9, on any Windows OS (WinXP, Vista 7).
When you slideDown, the list items will appear beneath the next element and then will slideDown. When you slideUp, it will slideUp but keep the list items beneath the next element and when the slideUp is complete, the list will disappear.
Test this in IE : http://jsfiddle.net/fZwHR/11/embedded/result/
Change History (8)
comment:3 Changed 5 years ago by addyosmani
- Cc dmethvin added
- Component changed from unfiled to effects
- Priority changed from undecided to low
comment:4 Changed 5 years ago by sindresorhus
- Keywords needsdocs added
- Status changed from new to open
comment:5 Changed 5 years ago by mikesherov
- Resolution set to wontfix
- Status changed from open to closed