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

document.visibilityState is undefined #774

Closed
CSchulz opened this issue Feb 22, 2023 · 1 comment · Fixed by #775
Closed

document.visibilityState is undefined #774

CSchulz opened this issue Feb 22, 2023 · 1 comment · Fixed by #775
Labels
bug Something isn't working

Comments

@CSchulz
Copy link
Contributor

CSchulz commented Feb 22, 2023

Describe the bug
document.visibilityState is undefined

To Reproduce
Try to access the visibilityState of the document. It is undefined.

Expected behavior
It should return at least 'visible'.

Device:

  • Version 8.7.1
@CSchulz CSchulz added the bug Something isn't working label Feb 22, 2023
CSchulz added a commit to CSchulz/happy-dom that referenced this issue Feb 22, 2023
CSchulz added a commit to CSchulz/happy-dom that referenced this issue Feb 22, 2023
CSchulz added a commit to CSchulz/happy-dom that referenced this issue Feb 23, 2023
CSchulz added a commit to CSchulz/happy-dom that referenced this issue Feb 23, 2023
capricorn86 added a commit that referenced this issue Feb 24, 2023
#774@patch: Add visibility state to Document.
@capricorn86
Copy link
Owner

Thanks again for the contribution! 🌟

You can read more about the release here:
https://github.com/capricorn86/happy-dom/releases/tag/v8.7.3

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.

2 participants