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

do not load animints right away in Rmd #147

Open
tdhock opened this issue Apr 4, 2016 · 2 comments
Open

do not load animints right away in Rmd #147

tdhock opened this issue Apr 4, 2016 · 2 comments

Comments

@tdhock
Copy link
Owner

tdhock commented Apr 4, 2016

because sometimes there can be a lot of them, and that can freeze the browser momentarily.

instead, when the user scrolls down, check if the div is visible, then render the animint if it is.

this will be difficult to write a test for...

@tdhock
Copy link
Owner Author

tdhock commented Apr 4, 2016

@cpsievert
Copy link
Collaborator

This should solve the problems for rmds at least https://github.com/hafen/lazyrmd

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