Permalink
Browse files

Mobile scroll fix

  • Loading branch information...
koenbok committed Apr 2, 2015
1 parent 29a8452 commit 658933b7de3cc1fe8ecfe296d9e8e8ca75933bdd
Showing with 5 additions and 2 deletions.
  1. +5 −2 framer/Extras/MobileScrollFix.coffee
@@ -32,8 +32,11 @@ exports.enable = ->
constructor: (options) ->
super options
@on "change:scrollVertical", @_updateScrollListeners
@_updateScrollListeners()
# Only do this for bare layers, it messes with the
# Scroll and Page Component for now.
if @constructor.name == "Layer"
@on "change:scrollVertical", @_updateScrollListeners
@_updateScrollListeners()
_updateScrollListeners: =>

0 comments on commit 658933b

Please sign in to comment.