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

Older browsers document.visibilityState #33

Open
Saartje87 opened this issue Sep 6, 2016 · 1 comment
Open

Older browsers document.visibilityState #33

Saartje87 opened this issue Sep 6, 2016 · 1 comment

Comments

@Saartje87
Copy link

For example Android 4.4 doesn't supports document.visibilityState without the webkit prefix, creating an animation with a delay will never be triggered on these devices because isDocumentVisible will not return false.
Is it an idea to check for 'visibilityState' in document and then return the document visibility or true for older browsers?

@michaelvillar
Copy link
Owner

Yep can probably do that!

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