The new scrollview scrolls to top when adding a new item into an existing scrollview. This is a huge bug in Corona that prevents us from publishing our app with support for iOS7.
Yes, this is a huge bug bacause we cannot use display.loadRemoteImage on ScrollView items.
Please respond to this issue.
Example:
[lua]
– Listener for image download
local function apiImageListener( event )
if ( event.isError ) then
print ( “Network error - download failed” )
else
local img = event.target
if (img ~= nil) then
img.alpha = 0.0
if (scrollView ~= nil and modGroup ~= nil) then
scrollView:insert(img) --here is the problem, scrollView scrolls to top!!!
transition.to( event.target, {time=200, alpha = 1.0 } )
else
img:removeSelf( )
img = nil
end
end
end
end
Have you filed a bug report on it? if so can you post the bug number here? Also if you have not please do so. Make sure to include a build.settings and config.lua as well with a project that demonstrates the problem… and post the bug number back here when you get the email back from the bug system.
Once I have the bug report number, I can ask Engineering about it.
Yes, this is a huge bug bacause we cannot use display.loadRemoteImage on ScrollView items.
Please respond to this issue.
Example:
[lua]
– Listener for image download
local function apiImageListener( event )
if ( event.isError ) then
print ( “Network error - download failed” )
else
local img = event.target
if (img ~= nil) then
img.alpha = 0.0
if (scrollView ~= nil and modGroup ~= nil) then
scrollView:insert(img) --here is the problem, scrollView scrolls to top!!!
transition.to( event.target, {time=200, alpha = 1.0 } )
else
img:removeSelf( )
img = nil
end
end
end
end
Have you filed a bug report on it? if so can you post the bug number here? Also if you have not please do so. Make sure to include a build.settings and config.lua as well with a project that demonstrates the problem… and post the bug number back here when you get the email back from the bug system.
Once I have the bug report number, I can ask Engineering about it.