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

Fix bug that would lead to a super large number of "throttled" change events. #1921

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

cramforce
Copy link
Member

No description provided.

@@ -435,6 +434,7 @@ export class Viewport {
// Currently, this is 30px/second -> 0.03px/millis
if (Math.abs(velocity) < 0.03) {
this.changed_(/* relayoutAll */ false, velocity);
this.scrollTracking_ = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove TODO two lines above.

@dvoytenko
Copy link
Contributor

LGTM with one request

cramforce added a commit that referenced this pull request Feb 10, 2016
Fix bug that would lead to a super large number of "throttled" change events.
@cramforce cramforce merged commit 323fa1d into ampproject:master Feb 10, 2016
@cramforce cramforce deleted the jank branch February 10, 2016 23:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants