 
   requestAnimationFrame: (fn) ->
     @updatesPaused = true
+    @pauseScrollViewMeasurement()
     requestAnimationFrame =>
       fn()
       @updatesPaused = false

    animationFramePending = @pendingScrollLeft?
    @pendingScrollLeft = scrollLeft
    unless animationFramePending
      @pauseScrollViewMeasurement()
      @requestAnimationFrame =>
        @props.editor.setScrollLeft(@pendingScrollLeft)
        @pendingScrollLeft = null

    dragging = false
    lastMousePosition = {}
    animationLoop = =>
      @requestAnimationFrame =>
        if dragging
          screenPosition = @screenPositionForMouseEvent(lastMousePosition)
