Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
OnlineWD™ CreditAttribution: OnlineWD™ commentedThis 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.
Comment #2
PetarB CreditAttribution: PetarB commentedHaven't done anything like that before with javascript... any pointers or references to code? Thanks for the help.
Comment #3
Mark LaCroix CreditAttribution: Mark LaCroix commentedI'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.
Comment #4
PetarB CreditAttribution: PetarB commentedI 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.
Comment #5
PetarB CreditAttribution: PetarB commentedJust 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!
Comment #6
ryanfc08 CreditAttribution: ryanfc08 commentedIf 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.
Comment #7
tfranz CreditAttribution: tfranz commentedI 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!
Comment #8
PetarB CreditAttribution: PetarB commentedStill haven't been able to get around this issue.
Comment #9
jerry CreditAttribution: jerry commentedsubscribing
Comment #10
madrock9 CreditAttribution: madrock9 commentedHaving 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.
Comment #11
mohirt CreditAttribution: mohirt commentedAlso having this problem, the previous post did yield a temporary fix for me.