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 doesn't work in Safari #477

Closed
mathbunnyru opened this issue Feb 6, 2022 · 1 comment · Fixed by #478
Closed

Fullscreen mode doesn't work in Safari #477

mathbunnyru opened this issue Feb 6, 2022 · 1 comment · Fixed by #478
Labels
bug Something isn't working

Comments

@mathbunnyru
Copy link

Describe the bug

context
I open https://sphinx-book-theme.readthedocs.io/en/latest/ using Safari on MacOS and press fullscreen button.

expectation
I expected Safari go to fullscreen mode.

bug
But instead nothing happens.

[Error] TypeError: document.documentElement.requestFullscreen is not a function. (In 'document.documentElement.requestFullscreen()', 'document.documentElement.requestFullscreen' is undefined)
	(анонимная функция) (sphinx-book-theme.js:1:1707)
	onclick (latest:382)```
**problem**

This is a problem for people using Safari.


### Reproduce the bug

1. https://sphinx-book-theme.readthedocs.io/en/latest/
2. Open FullScreen

### List your environment

macOS 12.2 under M1
Safari 15.3
@mathbunnyru mathbunnyru added the bug Something isn't working label Feb 6, 2022
@welcome
Copy link

welcome bot commented Feb 6, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant