Bug Tracker

Ticket #1173 (closed bug: wontfix)

Opened 2 years ago

Last modified 9 months ago

Flicker before Interface SlideIn* functions

Reported by: bhagany Assigned to: stefan
Type: bug Priority: major
Milestone: 1.1.3 Component: interface
Version: 1.1.2 Keywords: flicker, interface, slide, display, visibility
Cc: Needs: Review

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

Change History

Changed 2 years ago by bhagany

Sorry about the multiple ticket submissions... my browser hung forever, and I thought it wasn't working. Can I delete tickets I've submitted?

Changed 1 year ago by alexef

Hi, I tried this and it's working as a charm. Why isn't this patched to trunk? It's a major bug, although it seems to appear only on Firefox2.

Oh, and thank you very much bhagany!

Changed 9 months ago by scott.gonzal

  • status changed from new to closed
  • resolution set to wontfix

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

Note: See TracTickets for help on using tickets.