nextcloud/server

Treat mobile Firefox as mobile Safari on iOS

Closed

#58656 opened on Mar 2, 2026

View on GitHub
 (5 comments) (0 reactions) (1 assignee)PHP (34,953 stars) (4,865 forks)batch import
0. Needs triagebrowser: mobilebrowser: safaridesignenhancementfeature: filesgood first issue

Description

[!TIP]

Help move this idea forward

  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

Not quite sure if this should be a feature request or a bug report.

Firefox on iOS does not handle text fields and viewport scaling correctly. This makes for a really awkward and frustrating experience when editing input fields where the viewport zoom keeps jumping.

On iOS, Firefox is not given the value maximum-scale=1.0 to the "viewport" meta tag. Adding this would fix it.

Describe the solution you'd like

Add a new UA string constant to the Request.php to capture iOS Firefox or modify the existing Mobile Safari regex to include Firefox. https://github.com/nextcloud/server/blob/ee43b68606d008d69e41e1b9fe74b30aa9933959/lib/private/AppFramework/Http/Request.php#L43

Describe alternatives you've considered Not sure there is one.

Additional context

Browsers on iOS all are (currently) forced to use Apple's webkit rendering engine so they should all be treated the same.

The comment detailing the reasoning for the maximum-scale toggle states that adding it breaks Chrome and others by disabling user zoom; however, in my testing this does not affect Firefox. This is because on iOS everything is still Safari under the hood.

Contributor guide