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

Check for newly-revealed nodes based on media query changes #4

Open
johnholdun opened this issue May 10, 2019 · 0 comments
Open

Check for newly-revealed nodes based on media query changes #4

johnholdun opened this issue May 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@johnholdun
Copy link
Contributor

The embed feature does not fetch an embedded link if the <a> has the display: none; property, which is handy for avoiding extraneous network calls on mobile devices, for example. If one of these links is revealed after the DOM is loaded as the result of a media query, it should be detected and fetched.

Note that we already listen for orientationchange events, so we just need to handle viewport size queries.

@johnholdun johnholdun added the enhancement New feature or request label May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant