Menu icon Foundation
F6.3 Accordion Menu FOUC

Is there a way to prevent FOUC (flash of unstyled content) in the Accordion Menu component like there is with other menu components?

accordion menufouc

Is there a way to prevent FOUC (flash of unstyled content) in the Accordion Menu component like there is with other menu components?

Tom Moore 7 days ago

I had the same issue and managed to solve it using basically the same method described here.

//scss

.no-js {
  .accordion-menu .nested {
    display: none;
  }
}