Skip to content
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

Calling .unlock() causes screen to rotate twice in iOS #128

Open
3 tasks done
sajallimbu opened this issue Feb 9, 2024 · 0 comments
Open
3 tasks done

Calling .unlock() causes screen to rotate twice in iOS #128

sajallimbu opened this issue Feb 9, 2024 · 0 comments

Comments

@sajallimbu
Copy link

Bug Report

There is issue with .unlock() which causes the app to rotate twice in iOS

What is expected to happen?

The device should rotate once to landscape-primary(90) degree and also able to rotate to landscape-secondary(-90).

What does actually happen?

The device rotates twice at once. First to landscape-primary(90) and to landscape-secondary(-90) and stays there.

Information

There is already a bug report for this here but even with the latest version the issue is still there.

Command or Code

screen.orientation.unlock();

Environment, Platform, Device

iPadOS version - 17.2
IPad 10th gen

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
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

No branches or pull requests

1 participant