Well. I’ve decided to abandon full screen. It’s got to be possible somehow. But, it’s just not 100% working in iOS Safari.
Instead, I’m at least doing this for now… I don’t know why, but forcing bottom:0
makes the composer pop up (so far from initial tests) fixed to the top every time in iOS Safari. But, it doesn’t work well for other browsers. And so, I found a CSS hack which will target only Safari.
/* Composer iOS Safari Fix */
@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media {
@media @phone {
.Composer:not(.minimized) {
bottom: 0 !important;
}}}}
https://solvit.io/bcf61b6
I’ve always been told that all iOS browsers are basically Safari. Well, that’s definitely not true. I mean, it could be partially true. Not fully. I have three browsers on my iPhone. Each one acts a little differently. I discovered that I needed to make the above rule Safari only because I opened Firefox iOS and the rule caused the composer to be off screen. But again, it does some kind of magic in Safari iOS… 🪄
This GIF shows it working in iOS Safari and then also iOS Firefox. But please trust me, it did not work in iOS Firefox without adding in the above Safari only hack so that Firefox ignores it.
What is this all about again? By default the way the composer opens on mobile Safari isn’t consistent. It sometimes opens in the middle or a little off screen. So far, there’s something about bottom:0
that keeps Safari from being a little naughty browser! 😂 Bad, Safari! AKA, the new IE.