I wanted to add another ‘Me too’ to this issue, and also ask for further help on the workaround. The overlay I’m using is a simple tutorial popup with text and an ‘OK’ button. The button is a widget.newButton. The function that is called onRelease for the button is returning true. I’ve also tried the rectangle behind the whole overlay to try to catch taps and touches, but that’s not working either. Here’s the relevant code from the overlay :
-- forward declarations and other locals local okBtn -- 'onRelease' event listener for okBtn local function onOkBtnRelease() storyboard.hideOverlay() return true -- indicates successful touch end function scene:createScene( event ) local group = self.view -- overlay fix; to prevent taps from going thru to underlying screen local oFix = display.newRect( group, 0, 0, screenWidth, screenHeight ) oFix:setFillColor(0,0,0) oFix.alpha = .7 oFix:addEventListener( "tap", catchStrays ) oFix:addEventListener( "touch", catchStrays ) local myRoundedRect = display.newRoundedRect(10, 10, 250, 250, 12) myRoundedRect.strokeWidth = 3 myRoundedRect:setStrokeColor(180, 180, 180) group:insert(myRoundedRect) local wrappedText = display.newText( event.params.msg, 25, 25, 200, 200, native.systemFont, 18 ) wrappedText:setTextColor(0,0,0) group:insert( wrappedText ) -- create a widget button okBtn = widget.newButton{ label="OK", labelColor = { default={255}, over={128} }, defaultFile="button.png", overFile="button-over.png", width=154, height=40, onRelease = onOkBtnRelease -- event listener function } okBtn:setReferencePoint( display.TopLeftReferencePoint ) okBtn.x = 50 okBtn.y = 200 group:insert(okBtn) end