Skip to content

Conversation

@Traksewt
Copy link

@Traksewt Traksewt commented Sep 3, 2015

Calculating the end location was checking all parents. It should stop when it reaches the given container.

The window.internalHeight was interfering with the container animation exit calculations.

A threshold is added to stop the animation going on for a long time when the difference is less than a pixel.

@Traksewt
Copy link
Author

adding package.json for webpack installation.

@Traksewt Traksewt mentioned this pull request Apr 12, 2016
@samsullivan
Copy link

Thanks! This was much better than the fix I came up with (which didn't take into account any potential offsets).

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.

2 participants