Skip to content

Commit

Permalink
dont execute scrollend when content layer is still animating
Browse files Browse the repository at this point in the history
  • Loading branch information
J.P.P Treub committed Mar 15, 2016
1 parent 75c0dc2 commit 0f82601
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framer/Components/PageComponent.coffee
Expand Up @@ -155,6 +155,8 @@ class exports.PageComponent extends ScrollComponent

_scrollEnd: =>

return if @_isAnimating

velocity = @content.draggable.velocity

# See if we meet the minimum velocity to scroll to the next page. If not we snap
Expand Down

0 comments on commit 0f82601

Please sign in to comment.