Skip to content

Scale Manager fails to resize to full container #7213

Closed

Description

@FranciscoCaetano88

Version

  • Phaser Version: 3.88.2
  • Operating system: MacOS
  • Browser: Chrome, Firefox, Safari, Edge

Description

When updating Phaser 3, rotating mobile so orientation changes between landscape/portrait or resizing the browser window does not fit/resize the canvas into the window bounds. It appears the problem starts with version 3.85.0 and continues in subsequent versions.

Example Test Code

To replicate the issue, I've used the Phaser 3 example at this URL:

To see the problem firsthand, open the developer console and switch the device orientation between landscape and portrait. The canvas element is expected to resize and fill its parent container, but it doesn't.

The expected behaviour at https://labs.phaser.io/edit.html?src=src/scalemanager/resize.js&v=3.80.0

Activity

  1. VijayVPatil13 commented on Nov 24, 2025

    @VijayVPatil13
    Contributor

    Assign me the issue. I will solve it.

  2. added a commit that references this issue on Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions