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

FullScreen mode goes to black after rotating the mobile device #205

Open
dracarys55 opened this issue Mar 7, 2022 · 2 comments
Open

FullScreen mode goes to black after rotating the mobile device #205

dracarys55 opened this issue Mar 7, 2022 · 2 comments

Comments

@dracarys55
Copy link

dracarys55 commented Mar 7, 2022

@sindresorhus
It seems like whenever I rotating the chrome for Android during FullScreen mode, and exit fullScreen mode and back to fullScreen mode again.It will goes to complete black....and it only happens on chrome, Firefox is okay
So can anyone tell me how to fix this issue? I have been search the solution almost three days, beginning to this is the just bug of google chrome.

Here is the code I wrote :

image

@sindresorhus
Copy link
Owner

If it goes black, it's a bug in Chrome or your code. This package is a simple wrapper.

@dracarys55
Copy link
Author

dracarys55 commented Mar 7, 2022

If it goes black, it's a bug in Chrome or your code. This package is a simple wrapper.

Thanks for the quick reply !
Yes, I know this package is simply a wrapper, so I tried vanilla JavaScript to see if i still goes to black after I rotate
and the answer is Yes...
and the same code I wrote works all fine in Firefox, so maybe it's actually a bug in Chrome ?

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

2 participants