Closing keyboard on mobile (iOS) doesn't unpin reply box, but should

We’re not really interested in optimizing for old versions of iOS, because iOS devices get updated to latest at very high rates.

After one year, for example, 88% of all devices were running iOS 12.

On top of that, if iOS 12 compatibility is a priority, run the previous stable version of Discourse, not the current beta.