Skip to main content

Bug Tracker

Side navigation

#1176 closed bug (wontfix)

Opened May 11, 2007 08:51PM UTC

Closed March 31, 2008 01:37AM UTC

Flicker before Interface SlideIn* functions

Reported by: bhagany Owned by: stefan
Priority: major Milestone: 1.1.3
Component: interface Version: 1.1.2
Keywords: flicker, interface, slide, display, visibility Cc:
Blocked by: Blocking:
Description

I have seen several posts on the forums that claim that something like this was fixed in jQuery 1.1.2, but this persists for me in Firefox 1.5 on Windows XP. In certain situations, the sliding element is made visible for a brief period before the slide actually starts, when display is unset or set to "block", and visibility is "none"

My preliminary fix is as follows:

comment out ifxslide.js, line 240 (jQuery.fx.slide method):

z.el.show();

and change ifx.js, line 110 (jQuery.fx.buildWrapper method) from:

t.hide();

to

es.display = "none";

I'm not sure what the reason was for having the z.el.show() command, but it seems to work well without it. Also, under the conditions I described above, the t.hide() call doesn't actually do anything when z.el.show() is commented, because hide() does a filter(":visible") before doing its thing, and the element's visibility is set to none.

Any insight on whether this fix breaks anything else is appreciated. Also, I will put up a test case and post it here soon.

Attachments (0)
Change History (6)

Changed May 11, 2007 09:34PM UTC by bhagany comment:1

I am unable to attach a file with a test case... I'm kind of new at this, and I'm not sure why.

Changed May 12, 2007 12:59AM UTC by bhagany comment:2

I've put a test case up at http://brenthagany.com/test/slidetest.html

Changed June 02, 2007 08:30AM UTC by loki_racer comment:3

This test case still flickers for me.

Changed June 16, 2007 03:35AM UTC by bhagany comment:4

Sorry, I wasn't clear: the test case demonstrates the flicker, and does not include the fix I outlined.

Changed July 18, 2007 04:25PM UTC by robg comment:5

This happens in jquery 1.1.3 in a number of cases in IE. Any animation (hide/show, fadeIn/fadeOut, slideUp/slideDown) seems to flicker before it then works normally. No idea why :)

Changed March 31, 2008 01:37AM UTC by scott.gonzal comment:6

resolution: → wontfix
status: newclosed

Interface is no longer supported; consider switching to jQuery UI.