You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The orientation change event is being fired on the chrome browser but with the wrong orientation. This exmaple works fine in the safari but not on the chrome browser.
meetpatel1989
changed the title
Event orientationchange being fired with wrong orientation
Event orientationchange being fired with wrong orientation on iOS Chrome
Jul 9, 2021
The ScaleManager.orientationChange event listener will now directly refresh the Scale Manager internals. This fixes an issue where the orientation change event would fire after the window resize event, causing the Scale Manager to incorrectly report the new orientation on Chrome on iOS. See #6484 for the commit link.
Version
Description
The orientation change event is being fired on the chrome browser but with the wrong orientation. This exmaple works fine in the safari but not on the chrome browser.
this.game.scale.on("orientationchange", ()=>{ alert("orientation changed"); });
Additional Information
My observation: The event is not being fired for the first time only after that event is fired but with the wrong orientation.
The text was updated successfully, but these errors were encountered: