Firstly, congratulations on this project, it's easily one of my favourite Drupal modules. I love it! And I've seen the evolution of this module over the last 12 months, really strong stuff, great functionality.
Anyway, on to the bad...
I'm getting a 'loading flash' for the three states on my primary menu ocassionally - it shows all three states for a moment, then returns to the expected behaviour. It's especially obvious in Safari (yeah, I know, I know!).
Is this a CSS loading issue? Any suggestions?
Thanks for your help.

Comments

OnlineWD™’s picture

This is caused I think by overflow hidden being triggered a fraction after full image is rendered. Possibly adding overflow hidden to javascript as style hard coded into element may prevent it.

PetarB’s picture

Haven't done anything like that before with javascript... any pointers or references to code? Thanks for the help.

Mark LaCroix’s picture

I've been having this issue as well. I use the private file system setting, so I always assumed that it was because I couldn't compress my CSS and JS, but I'm thinking that there's something else at work here.

PetarB’s picture

I don't think it has anything to do with CSS or JS compression as you said. Could be wrong! I'll try it and see.

PetarB’s picture

Just confirming this has nothing to do with CSS or JS compression. Am going to try and hardcode the overflow being hidden, and will let you know how it goes.
Anyone else's input would be helpful!

ryanfc08’s picture

If you figure something out with this please post your fix. I am having the same problem and cannot figure out how to fix it. And it is driving me nuts.

tfranz’s picture

I have the same problem (Safari, Firefox) – would appreciate any help.

I'm using compressed CSS and JS and the Drupal module Boost ...

Thank you for any help/ hint!

PetarB’s picture

Still haven't been able to get around this issue.

jerry’s picture

subscribing

madrock9’s picture

Having the same issue; fast fix, until i figure out the problem: set up a fixed height for the primary menu and set the overflow hidden; this way you won't see the whole 3 states image; it's not a permanent fix, as first you'll see the the menu in the first state, and then the active picture is loading for the active item; it will do for now for me, since I only have text color changed for active item.

mohirt’s picture

Also having this problem, the previous post did yield a temporary fix for me.