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 Jitter #6

Merged
merged 3 commits into from
Jul 1, 2015
Merged

Fix Jitter #6

merged 3 commits into from
Jul 1, 2015

Conversation

tehandyb
Copy link
Contributor

@tehandyb tehandyb commented Jun 8, 2015

The height calculation now includes margin. Also added a check to see if the children height changes so scroll calculations are good for the new children.

Smoothed out the jitter by including full margin in height calculations
FIXED JITTER. must set child height state if children changed.
@@ -37,6 +37,8 @@
},
"license": "Apache 2.0",
"dependencies": {
"element-size": "^1.1.1",
"lodash": "^3.9.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the lodash dependancy for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it in because the build was complaining about it not being there. I don't remember where it was being used though.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah looks like I use it in the example and didn't add it to the dependancy. Can you move it to the devDependencies since it's not a requirement of the actual component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah I see, I'll fix that.

@jkimbo
Copy link
Contributor

jkimbo commented Jun 24, 2015

Thanks for the pull request! Sorry it has taken me so long to get around to reviewing it.

Formatting cleanup for pr to original master repo.
@tehandyb
Copy link
Contributor Author

Added those changes into the pr.

@jkimbo
Copy link
Contributor

jkimbo commented Jul 1, 2015

lgtm 👍

@jkimbo jkimbo merged commit 88500d8 into onefinestay:master Jul 1, 2015
@jkimbo
Copy link
Contributor

jkimbo commented Jul 1, 2015

Released as v0.3.0

@everson everson mentioned this pull request Feb 25, 2016
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.

3 participants