Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabor

    (@nextendweb_gabor)

    Hi @yvessonos!

    That happens, because of the “Show expanded when Javascript disabled” option: https://accordion-menu.helpscoutdocs.com/article/998-animation-parameters
    This is loading the menu opened, because if there is no javascript loading on your browser, that is the only way it could be opened. And we are closing the menu using javascript, which is happening a little later, than when the menu shows up, so that is causing a little flashing.

    Thread Starter yvessonos

    (@yvessonos)

    Thanks! When I turn the option off I don’t see the issue. Do you happen to know why this only flashes in Chrome? It would be nice to allow users without JavaScript to load the menu without the flashing.

    Plugin Author Gabor

    (@nextendweb_gabor)

    This is not really browser related, so you might only see it correctly on other browsers, because they are loading your website faster, and you can’t see the problem in there. The way browser are loading websites is, that they are loading the html content first, when the menu is opened, and then comes the javascript, so this is the cause of the issue, and you can’t really change that, because javascript codes are happening to the existing html code, and not even browsers can improve on that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menus “flash” open on Chrome before behaving normally’ is closed to new replies.