-
Notifications
You must be signed in to change notification settings - Fork 43
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
Requesting orientation lock when going fullscreen #186
Comments
Is it related to my issue here #188 ? I think of a proper way to ask user to unlock fullscreen orientation in web |
Requesting orientation with fullscreen seems like a nice ergonomic addition. See relevant WebApps WG TPAC minutes. Some questions around that discussion may be pertinent (FYI @jakearchibald and @kenchris):
|
Thanks, let's see:
|
This was referenced Nov 1, 2022
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It might be nice to request a particular orientation when going fullscreen. The Screen Orientation API presupposes a "pre-lock condition", which in practice means "the document must be in fullscreen".
Given that precondition, we could most of the Screen Orientation API and just request the allowed orientations when requesting fullscreen:
The advantages would be similar to those in #185:
The text was updated successfully, but these errors were encountered: