Scrollview Not Scrolling.

Hmmm. Not sure. If you’re adding an empty group to your scrollview and then adding components dynamically afterwards that would cause the same issue I had.

If so, try adding the components directly to the scrollview (i.e., not into a group you inserted into the scrollview - so skip the step of adding the extra empty group basically).

If this isn’t what you’re doing then I don’t know I’m afraid. Probably worth filing a bug with Corona.

Thanks,

Ian

Just an idea but what happens if you re-insert your group into the scrollView after you’ve finished adding new objects?

“I fixed it”, seems that the display groups are not updating their size, when you add an hierarchy of displayGroups, and position them, I’ve set manually the width of that display group and it works. adding components to an empty group and then afterwards adding it to the scroll… this seems some sinister change in displayGroup size calculation method… and as I was saying this shouldn’t had stop working… I mean this is working perfectly in 1036 I don’t see why it’s not now… but as I say seems something in the displayGroup is not working.

And thanks for your help guys, I’ll try to workaround it but seems it will fail other cases…

Does inserting the group into the scrollView with a slight delay also fix it? 

ie:

timer.performWithDelay( 1, function() scrollView:insert( group ) end)

It does!! :slight_smile: it’s fixed adding the delay.

Thanks very much!! :slight_smile:

In that case daily build 1060 may resolve the issue for you without you having to do that. Give it a whirl and let me know

I’m using 1060 already :D in fact was the first thing I tried :slight_smile: