UX: Limit iOS modal keyboard changes to composer

UX: Limit iOS modal keyboard changes to composer

Followup to 423802fbc

diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index 5d10d6d..3f4d85c 100644
--- a/app/assets/stylesheets/common/base/modal.scss
+++ b/app/assets/stylesheets/common/base/modal.scss
@@ -141,10 +141,11 @@
   z-index: z("modal", "content");
   overflow: auto;
 
-  .keyboard-visible & {
+  html.keyboard-visible body.ios-safari-composer-hacks & {
     height: calc(var(--composer-vh, 1vh) * 100);
     .modal-inner-container {
       max-height: 100%;
+      margin-bottom: 0px;
     }
   }
 

GitHub sha: 87b94881

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/different-behavior-when-flagging-as-something-else/151478/5