slideout icon indicating copy to clipboard operation
slideout copied to clipboard

Flashing when loading?

Open ckizer opened this issue 8 years ago • 4 comments

The slideout panel flashes over top of all the page content before it's hidden. I can't figure out why.

ckizer avatar Apr 06 '17 17:04 ckizer

I've had this too. My solution was to hide the contents through a "hidden" tag until the slideout instance is created.

tmansson avatar Apr 06 '17 19:04 tmansson

Had the same issue, @bialad's solution works pretty well.

marciniwanicki avatar Apr 30 '17 11:04 marciniwanicki

Hi @ckizer

Could you share a link (codepen) with a simple implementation to see this problem?

pazguille avatar May 29 '17 12:05 pazguille

@pazguille You can add some CSS to fix the flashing. If your mobile navigation is in a container with class "mobile-nav", then add:

.mobile-nav { display: none; } .slideout-open .mobile-nav { display: block; } This way, it will only be visible when the slideout-open class is added, which is only when the drawer is open.

vlemcoff avatar Aug 01 '17 19:08 vlemcoff