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

Sync Dimensions with DOM changes #24

Open
mrflix opened this issue Jul 9, 2015 · 1 comment
Open

Sync Dimensions with DOM changes #24

mrflix opened this issue Jul 9, 2015 · 1 comment

Comments

@mrflix
Copy link
Owner

mrflix commented Jul 9, 2015

Dimensions works by taking a screenshot of the page via a Chrome API. Thus Dimensions should take a new screenshot whenever something in the viewport changes.

It already does that for scrolling – with a slight delay to take the scroll inertia on OSX into account.
However it doesn't take DOM changes into account (e.g. changes of the html via Javascript).

@mrflix
Copy link
Owner Author

mrflix commented Jul 9, 2015

TODO

  • improve scroll watch by waiting for a scroll-end

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

1 participant