Streaming live at 10am (PST)

Flexbox Issues When Changing Device Visibility


#1

Hello,

I can't understand why a flexbox layout changes on a device size when you change it's visibility on other device sizes.

I have a layout setup perfectly when the visibility is across all devices. See image below:

But when i set the visibility to only be seen on tablet and mobile (turning desktop visibility off) it breaks the layout:

Is there a reason for this? Or is it a bug?

Any help would be amazing as it's confusing the life out of me!

Rob


#2

I think there is issues using the visibility settings. I have switched to changign the display settings (I.e. display:none) based on device size and seems to be working.

Still would be interested if anyone can add clarity to this kind of scenario?

Rob


#3

Think its the Flex Flux capacitor causing the issues dude!


#4

Thanks mate. You are a true inspiration!


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.