Bug Tracker

Opened 10 years ago

Closed 9 years ago

#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:
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.

Change History (4)

comment:1 Changed 10 years ago by kenman

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!

comment:2 in reply to:  1 Changed 10 years ago by kenman

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

comment:3 Changed 9 years ago by snover

Milestone: 1.4.3

Resetting milestone to future.

comment:4 Changed 9 years ago by snover

Priority: undecided
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.