Behavior of headers in all overlays on the mobile sites is inconsistent between iOS and Android. On Android, they are always sticky (shown on top of the viewport if you scroll). On iOS, they are only sticky until you open the software keyboard, at which point they can be scrolled away.
This task is to decide whether they should be sticky at all, and if they should, then how to implement that, given iOS Safari's reckless disregard for position: fixed.
(This task covers all overlays except VisualEditor, where the toolbar must be sticky, see T218414.)
Additional notes
When the soft keyboard is open iOS any fixed headers are pushed upwards like so:
(Imagine "Header" as being the editing toolbar)
Currently only the talk and editor overlays have textarea/input fields but in future this could impact other places.
Design conclusion
Since the inconsistent behavior between Android and iOS is the result of an OS-level difference it is not critical (or realistic) for us to have a consistent overlay experience between iOS and Android.
Our rule for now is: modal/overlay headers are fixed (on iOS and Android), and we are generally okay with the iOS-specific behavior where tapping into a <textarea> (or similar such element), un-fixes the header. There may be specific cases where the header must always remain fixed, which we will address in a one-off manner (probably using JS).

