Current solution (as of May 2022) for those who stumble upon this thread:
/* Mobile Composer Tweak */
@media @phone {
.Composer:not(.minimized) {
height: 48vh !important;
bottom: 0 !important;
}
}
https://discuss.flarum.org/d/27979-composer-on-mobile-thoughts-again/18
Experiment with the vh number. I just discovered that for a new post, due to the title field, 40 is not tall enough. You might prefer 45vh or 48vh. 50vh should work fine. At one point in my testing it seemed borderline too tall… so something like 48vh might work well.
Original post:
Note: In this original post I was more focused on trying to make the composer full height. That's no longer a priority. Instead the current solution (see above) at least ensures that the composer box is visible more often on mobile phones when the user taps "Reply." Without this hack, sometimes (especially with iPhones), the user will tap "Reply" and they won't see the composer box unless they scroll up. Ok, now on to the original post...
In the past I remember posting about the composer on mobile. Some CSS changes were made which did make it better.
But, I also remember asking things like, why not stick it to the bottom versus the top? Or even, why not make the composer full screen on mobile?
The consensus was that it needs to be like it is so you can see behind it (preview reasons).
Maybe on certain phones it works better and is helpful the way it is, but sometimes on iPhone it looks like the following screenshot. My concern isn’t that it is in the middle versus stuck to the top. My concern/question is: What’s the point of seeing behind it? Look at what tiny gaps/spaces there are on an iPhone XR. There’s such little space that I don’t think it helps much for preview purposes. Why not make it full screen? Then you click something to preview?
Of course, it’s not a big deal. I’m also fine with it the way it is. I just don’t quite understand the argument around making sure there’s some space above or below the box. On mobile, with such little real estate, it doesn’t seem all that helpful.
Is it because if you make it 100% full screen you can’t scroll and review other posts? That would be solved with a show/hide/preview icon.