This repository was archived by the owner on Jul 22, 2020. It is now read-only.
Redraw alert list of user switches to unsee tab#127
Merged
Conversation
|
According to http://caniuse.com/#feat=pagevisibility you don't need the different vendor specific prefixes. |
Contributor
Author
|
I don't see any mention on that website that vendor prefixes aren't required. It only shows which browsers are supporting it. I think I trust mozilla docs more, demos for it, like https://github.com/samdutton/simpl/blob/gh-pages/pagevisibility/js/main.js linked from https://www.chromestatus.com/feature/5689697795833856 still uses all checks. I'd rather use mozilla example for now. |
42b358c to
ad77621
Compare
Contributor
Author
|
Well, spec for it indicate that's those shouldn't be needed, and if browser implemented the spec than it shouldn't be required. Still, I'd rather rely on mozilla docs. |
This should limit UI artifacts when you keep unsee tab inactive (not fucused) for a long time and a browser stops refreshing content
ad77621 to
ad47afd
Compare
Contributor
Author
|
Fair enough, updated |
Tenzer
approved these changes
Jul 6, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This should limit UI artifacts when you keep unsee tab inactive (not fucused) for a long time and a browser stops refreshing content