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

Reload of page does not keep status #156

Closed
Martinomagnifico opened this issue Sep 24, 2019 · 2 comments
Closed

Reload of page does not keep status #156

Martinomagnifico opened this issue Sep 24, 2019 · 2 comments

Comments

@Martinomagnifico
Copy link

Using Safari and the demo, I found that reloading the page (the whole document) while in fullscreen, the status will say that fullscreen is false. Chrome will revert to windowed mode, but Safari will stay fullscreen and report that it isn't. This is probably a Safari thing but I'm not sure.

@sindresorhus
Copy link
Owner

Yes, this is the behavior of the native implementation. Screenfull is only a more user-friendly layer on top.

@Martinomagnifico
Copy link
Author

Thanks!!! I use screenfull in a plugin for Reveal.js and just noticed the behaviour. (You are credited in the JS :-) )

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