Difference between iPhone and Samsung

I simply cannot get this site to work correctly for Iphones and Galaxies. Check out the Meet the Team section - on the iPhone, five images are divided correctly between two rows with 3 on top and 2 below using a flexbox, on the Galaxy there is a row of five, extending out beyond the screen edge.

Some other weird behaviour happens on the Galaxy when you click on an image too.

I was tempted to categorise this as a bug, but maybe I have got something wrong…


Here is my public share link: https://preview.webflow.com/preview/awareness?preview=ba6935708d8587d332582116bad98af8
Website: http://awareness.webflow.io/

Hello, @Hywel

It is hard to tell what exactly cause this issue on Galaxy :confused: Try to set “team div” width=100% and check if it will change anything.

Regards,
Anna

Thanks Anna, I’ll try that.

No joy, still produces five images in an extended row on the Galaxy…:confounded:

can you provide screenshots?

It’s annoying; everyone I know owns an iPhone! I have asked a friend to send me an image, I’ll upload shortly.

:frowning: … Wish I could correctly simulate Samsung Galaxy in the browser and check the code. (Current Chrome developing mode shows site correctly in Samsung Galaxy simulation). All this sounds like Galaxy doesn’t respect flexbox settings.

Probably you will have to make all team members links in-line block and team member block just display: block with text-align: center.

Yes, I use the excellent Blisk browser for testing mobile views, but it shows it incorrectly - ie the Galaxy image is not what you see in real life.

Hi @Hywel, Here is a screenshot of galaxy S6, is it supposed to look different?

What exact galaxy model you have?

No, that’s spot on, but on two separate Galaxy models it shows like the image below. I believe they are both S2s.

Hi @Hywel, I have been able to observe the issue on the S2. I was doing a little research on android 2.3, which the version running on S2 and found this: Flexbox gotchas for Android 2.1 – 4.3 (stock browser) – Ben Frain

It might be that to get compatibility with the lower versions of android, some other styling will be needed, other than flexbox.

1 Like

Well found, Dave. There’s a lot of early Androids about, I’ll switch to columns I guess.

Speaking of flexbox Dave, can you elaborate on what versions of IE works with flexbox? I heard that only MS Edge currently supports flexbox, is that true? My sight still has plenty of 1024 px wide visitors who I assume are using older browsers. A list would be nice of which versions are supported. Thanks!

Hi @Bghead8che, here is a reliable source: Can I use... Support tables for HTML5, CSS3, etc.

From the list, edge 13 and 14 should be good, IE 11 will have partial support.

I hope this helps!

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