Skip to content

Web App UI layout issues on Mobile when "Desktop Site" Mode is enabled #4839

Open
@TheRayGent

Description

@TheRayGent

Duplicate Check

Describe the bug

I noticed here that if you turn on "Desktop site" from your phone on a site written in flet, the site stops displaying normally, and most often it doesn't load at all in the vertical position of the phone. It only works normally if you hold the phone horizontally. For example, the site https://gallery.flet.dev/todo/

Image
Image

Image

Image

Code sample

Code
[Paste your code here]

To reproduce

  1. Enable on the site from the phone "Desktop site"

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

Windows

Operating system details

Android 15

Flet version

?

Regression

I'm not sure / I don't know

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas-upstreamThis issue depends on an upstream issueplatform: webSpecific to the web platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions