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

This will help us revert back to `resizes-visual` on Firefox
Android when the bug is fixed.
This commit is contained in:
Aman Agrawal 2025-03-30 19:41:30 +05:30 committed by Tim Abbott
parent 9073ad3cc5
commit 4202e4e044

View File

@ -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 %}