UX: Fix modal positioning when iOS keyboard is visible

UX: Fix modal positioning when iOS keyboard is visible

diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index 9667a0c..5d10d6d 100644
--- a/app/assets/stylesheets/common/base/modal.scss
+++ b/app/assets/stylesheets/common/base/modal.scss
@@ -141,6 +141,13 @@
   z-index: z("modal", "content");
   overflow: auto;
 
+  .keyboard-visible & {
+    height: calc(var(--composer-vh, 1vh) * 100);
+    .modal-inner-container {
+      max-height: 100%;
+    }
+  }
+
   &:not(.history-modal) {
     .modal-body:not(.reorder-categories):not(.poll-ui-builder) {
       max-height: 80vh !important;

GitHub sha: 423802fb

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