Skip to content

Conversation

@pranshugupta01
Copy link
Contributor

@pranshugupta01 pranshugupta01 commented Apr 26, 2025

This fixes issue #2711

…en state, requesting and exiting fullscreen, and locking screen orientation. Update toggle logic to utilize new methods and improve compatibility across browsers.
@vercel
Copy link

vercel bot commented Apr 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ancientbeast ✅ Ready (Inspect) Visit Preview Apr 26, 2025 8:38pm

@pranshugupta01
Copy link
Contributor Author

Hey @DreadKnight , this is fix for android landscape orientation , on ios i am facing issue related to fullscreen api

@DreadKnight
Copy link
Member

@pranshugupta01 Um, as I was saying, that issue is not about fullscreen mode...

@pranshugupta01
Copy link
Contributor Author

@pranshugupta01 Um, as I was saying, that issue is not about fullscreen mode...

No in this i have implemented landscape mode , am i missing something?? @DreadKnight

@DreadKnight
Copy link
Member

@pranshugupta01 Tested it on Android (Samsung S21) and it doesn't work.
Plus most code there is clearly related to fullscreen mode 🐻

@pranshugupta01
Copy link
Contributor Author

@pranshugupta01 Tested it on Android (Samsung S21) and it doesn't work. Plus most code there is clearly related to fullscreen mode 🐻

sorry i forgot to take the latest pull , it is working fine for me now (tested in google pixel 7) , after clicking on fullscreen button , the games orients to landscape

@pranshugupta01
Copy link
Contributor Author

@DreadKnight sorry but are you talking about the behaviour like the game itself starts in landscape mode?

@DreadKnight
Copy link
Member

@DreadKnight sorry but are you talking about the behaviour like the game itself starts in landscape mode?

Bingo! In fullscreen it's landscape mode locked already anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants