Scroll Listener stop displaying when exceed "Maximum Scroll Height"

Hi there,

I’m creating a fashion app using corona sdk. When showing the terms and condition page (which is very long, scroll height about 20000). The scroll listener will not display anything. I assume the problem lies in theres a maximum scroll height to the scroll listener, when we add anything to a scroll listener that exceed this “maximum scroll height”, it’ll stop displaying anything. Would like to check with the staff and any experienced developer if i’m right on this and also if theres any advise to solve this. Thanks!

Regards,

Vincent

Did you thought about adding “pages” instead of making big scroll view, make pages and use transition.to it might solve the problem if indeed scroll view is limited.

Thanks for the advise! I managed to solve the problem. Apparently the problem is there’s a limit to the amount of text in a display.newText Object. Problem is not captured on the simulator but only appear when build on device.

I broke down my long string of text into 7 display text objects before adding them in sequence to the scrollView. This solved the issue.

Regards,

Vincent

Did you thought about adding “pages” instead of making big scroll view, make pages and use transition.to it might solve the problem if indeed scroll view is limited.

Thanks for the advise! I managed to solve the problem. Apparently the problem is there’s a limit to the amount of text in a display.newText Object. Problem is not captured on the simulator but only appear when build on device.

I broke down my long string of text into 7 display text objects before adding them in sequence to the scrollView. This solved the issue.

Regards,

Vincent