Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

app: Track keyboard overlaps with compose box bug as a TODO.

Aman Agrawal4202e4e04498
diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html
index e95447e0bc3..f30e855f0d9 100644
--- a/templates/zerver/app/index.html
+++ b/templates/zerver/app/index.html
@@ -7,11 +7,14 @@
{% set PAGE_DESCRIPTION = _("Browse the publicly accessible channels in {org_name} without logging in.").format(org_name=realm_name) %}
{% block meta_viewport %}
-<!-- From version 132, Firefox now defaults to not resize the viewport
+<!--
+From version 132, Firefox now defaults to not resize the viewport
content but only the visual viewport. While this works well in
Chrome Android, it creates a buggy experience in Firefox Android
where the compose box is hidden under keyboard. To fix it, we rollback
-to resizing content when keyboard is shown on Firefox Android. -->
+to resizing content when keyboard is shown on Firefox Android.
+TODO: Remove this when Firefox Android fixes the bug -
+https://bugzilla.mozilla.org/show_bug.cgi?id=1943053 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no {% if is_firefox_android %}, interactive-widget=resizes-content{% endif %}" />
{% endblock %}