tward16 / pwi

Automatically exported from code.google.com/p/pwi
0 stars 0 forks source link

Overlapping albumcovers on initial load #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Nicely sorted albums. I get overlapped albumcovers instead, but only on initial 
load. After it has been clicked on once, they rearrange. Also, when display 
prop is set to block or screen, its loading fine. However, on this site I need 
it set to none.

What version of the product are you using? On what browser and version and
operating system?
V2.0 pwi
Latest chrome
winxp

Link to site showing the described behaviour:
http://caroline.joverdevest.com/index-test.html
Last accordion is where the problem lies.

Please provide any additional information below.
Tried to set display to block in css and thus on load, then set it to none 
after pageload from js. No dice.
Tried implementing 'waitforimages' as suggested in an earlier issue. No dice.

Original issue reported on code.google.com by Jelle.Ov...@gmail.com on 17 Oct 2013 at 11:24

GoogleCodeExporter commented 9 years ago
Ok, found a workaround. Little bit of an ugly one, but its working now.
Problem appears as far as i can see when you set a div to display:none. Even if 
you initialise in block, then set it to none, its gonna go bad. For now, i 
initialize with visibility:hidden, then on proper hover (accordion), it sets to 
visible and continues to do the animation. After this, all is good.

Would still like to know the exact problem or if i'm doing something silly, but 
no rush :)

Original comment by Jelle.Ov...@gmail.com on 18 Oct 2013 at 7:52