title: In Corona Sdk, I have a button in a scrollView. when touch the button. The scrollview can't be scrolled. How can I do that?
body: <p>In Corona Sdk, I have a button in a scrollView. when touch the button. The scrollview can't be scrolled. How can I do that?</p>
  
  <p>The code is in the following snippet:</p>
  
  <pre><code>local scrollView = require("scrollView")
  
  local background = display.newRect(0, 0, display.contentWidth, display.contentHeight)
  background:setFillColor(100, 100, 100)
  
  
  
  local topBoundary = display.screenOriginY
  local bottomBoundary = display.screenOriginY
  local scrollView = scrollView.new{ top=topBoundary, bottom=bottomBoundary }
  
  local contentGroup = display.newGroup()
  local bg = display.newImage("bg.png")
  bg:setReferencePoint(display.TopLeftReferencePoint)
  contentGroup:insert(bg)
  bg.x,bg.y = 0,0
  
  local button = ui.newButton{
      default = "buttonBlue.png",
      over = "buttonBlueOver.png",
      text = "Button 1 Label",
      emboss = true
  }
  button.x, button.y = 50, 100
  contentGroup:insert(button)
  scrollView:insert(contentGroup)
  </code></pre>
  
  <p>Thanks!</p>