I know its too soon, but I've been using the iOS 15 Safari and it has some major design changes. I'm currently developing a next-redux application for web which has a bottom popup that is fixed to the bottom of the viewport.
I'm controlling its padding with:
.action-bar-container{
position: sticky;
bottom:max(16px, env(safe-area-inset-bottom));
}
So if its any other browser like Chrome or firefox which doesn't have any inset, the max() function would return 16px as default.
If the inset is larger than 16px, i.e. safari bottom inset, it applies instead.
But the new safari has been giving issues, which I'm attaching images for reference.
In this pic, I would like to provide a padding from the url bar. The 16px is not being applied which means the inset is supposed to kick in, but the inset is clearly 0

What could be the approach to this situation