Skip to main content

Bug Tracker

Side navigation

#6254 closed bug (wontfix)

Opened March 10, 2010 09:58AM UTC

Closed November 19, 2010 04:47AM UTC

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:
Blocked by: Blocking:
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.custom(this.cur(), this.prop=="width"||this.prop=="height"?1:0);

This mod has already been added on line 5782, it just needs to be added here too.

Attachments (0)
Change History (4)

Changed April 16, 2010 06:07PM UTC by kenman comment:1

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!

Changed April 16, 2010 06:09PM UTC by kenman comment:2

My mistake, the work-arounds I attempted were from jqueryfordesigners.com. Sorry for any confusion.

Changed November 12, 2010 02:40AM UTC by snover comment:3

milestone: 1.4.3

Resetting milestone to future.

Changed November 19, 2010 04:47AM UTC by snover comment:4

priority: → undecided
resolution: → wontfix
status: newclosed