T
1

Why does nobody talk about flexbox gaps breaking in older Safari versions?

My buddy Jake runs a small web design shop and he argued that using gap in flexbox is fine for everyone now. I showed him a client's iPhone 6 still running iOS 12 and the layout completely collapsed. Do you prioritize modern browsers or still code around the old stuff like I do?
2 comments

Log in to join the discussion

Log In
2 Comments
taylor_barnes59
Nah, iOS 12 actually uses gap via a different property name, not that it helps much though.
6
rowanp15
rowanp153d ago
@taylor_barnes59 yeah that's true about the property name but it doesn't help when the whole layout breaks anyway. I still check caniuse before using gap on client sites, especially if they have older iPhone users. My cutoff is usually iOS 13 since that's where gap actually works right in Safari.
6