New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with canvas centering #6789
Comments
For some reason the code formating on Github is not working correctly. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Description
Occasionally, but not always, on iOS operating systems the canvas is not centered within the div where it should be. This issue also occurs on a fresh Phaser instance that contains only one scene and one game object, so it is unlikely to be related to our implemented logic. It seems more probable that the problem is linked to the configuration settings. This Phaser project is incorporated into a Vue.js 3 environment.
Test Code
Vue.js 3 component
index.ts whre launch() function is defined
Phaser.Game config
Additional Information
The issue appears as shown in the attached image.
The text was updated successfully, but these errors were encountered: