Chrome flickers w/Element.Dimensions #2355

Closed
prebenbo opened this Issue Apr 26, 2012 · 2 comments

Comments

Projects
None yet
2 participants

On page reload Chrome flickers (blank page before new one - takes a millisecond).

It has to do with this:

var element = document.createElement('div'),
child = document.createElement('div');
element.style.height = '0';
element.appendChild(child);
var brokenOffsetParent = (child.offsetParent === element);
element = child = null;

it seems. When this is gone - the page wil not flicker.

I have no idea what this does, but hope it can be fixed - I manuallly ripped out the code i needed to get my scrolltabs working (alla tabs Ext Js).

(other browsers don't flicker)

It worked well in MT core 1.2.5.

I commented out the function:

getOffsetParent: brokenOffsetParent ? function()

  • and the stuff above and the code works fine in Chrome now...
Member

fakedarren commented Jul 28, 2012

Hoping this would have been fixed by Chrome. It's an IE check (the code mentioned) so we kinda need it.

fakedarren closed this Jul 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment