Hello,
I use this event to move the textbox up and down on the screen. It moves up when I tap in it but when I am done it does not. It used to. Is this a bug now?
Here is the event code:
local function onDesc( event ) if ( "began" == event.phase ) then transition.to( editGroup, { time=350, x=0, y=-550 } ) elseif ( "editing" == event.phase ) then local txt = event.text if(string.len(txt)\>300)then txtDesc.text = string.sub(txt, 1, 300) end elseif ( "ended" == event.phase ) then native.setKeyboardFocus( nil ) transition.to( editGroup, { time=350, x=0, y=0 } ) elseif ( "submitted" == event.phase ) then native.setKeyboardFocus( nil ) transition.to( editGroup, { time=350, x=0, y=0 } ) end end
Thanks,
Warren