Skip to content

A platform for community discussion. Free, open, simple.

UX: Fix composer position on Firefox for Android (#18403)

Rafael dos Santos Silvafb5695795f54
diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss
index 3e610a7c065..ef83fdbb958 100644
--- a/app/assets/stylesheets/mobile/compose.scss
+++ b/app/assets/stylesheets/mobile/compose.scss
@@ -33,6 +33,14 @@
}
}
+ // Firefox for Android hack
+ @supports (-moz-appearance: none) {
+ .keyboard-visible #reply-control.open {
+ position: sticky;
+ height: calc(100vh - var(--header-offset, 4em));
+ }
+ }
+
.reply-to {
justify-content: space-between;
margin-bottom: 6px;