Modify ↓
Ticket #6254 (closed bug: wontfix)
JQuery - stop IE jumping on movement
| Reported by: | temabu | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | |
| Component: | effects | Version: | 1.4.2 |
| Keywords: | movement - browser specific | Cc: | |
| Blocking: | Blocked by: |
Description
With no page DTD defined, IE does something strange when doing movement and you get odd jumping in things like the accordion. I know you can define a DTD but within SharePoint this is not always possible. Therefore, when I implemented ddacordion 1.7 I get jummping with v1.4.2 of jQuery in IE 7.
The solution is simple.
Change line 5795 in the simple hide function from:
this.custom(this.cur(), 0);
to
| this.prop=="height"?1:0); |
This mod has already been added on line 5782, it just needs to be added here too.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thank you, temabu!
I've been trying to squash this bug, and have tried all the known work-arounds that I could find (including those from learningjquery.com), and this is the only 'fix' that corrects the issue for me. Unfortunately, I hate to modify the jQuery.js source file in our repo... hopefully this gets patched in soon!