Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
jmoukel
Posts: 111
Registered: ‎07-05-2012
My Device: none

BB10: Infinite Scroll on ScrollView

Hi guys,

 

as the title says, I got an infinite scroll inside my ScrollView.

 

I tried fixing the preferredHeight (an also minHeight) to the height of the screen, but then (as the scrollview content is bigger than the screen height) everything shrink to fit the screen height.

 

I just want the ScrollView limits to be its content limits.

 

Any ideas?

 

Thanks!

Retired
erahnenfuehrer
Posts: 85
Registered: ‎05-25-2012
My Device: Limited Edition Z10

Re: BB10: Infinite Scroll on ScrollView

Do you have a listview in a scrollview?  If so, that is a known bug.  If not, can you share a code sample?

Developer
jmoukel
Posts: 111
Registered: ‎07-05-2012
My Device: none

Re: BB10: Infinite Scroll on ScrollView

Hi,

when the problem arose, I didn't have any listview inside the scrollview. Now I do have a listview inside it.

Is there any workaround to solve that listview-scrollview bug?

The problem is that, inside the scrollview, I also have other controls beside the listview.
Developer
joelajean
Posts: 132
Registered: ‎01-25-2010
My Device: Z30, Z10, Q10, Dev Alpha B & Bold 9900

Re: BB10: Infinite Scroll on ScrollView

I had the same issue... I hide and display the components has per requirements and it did fix my issue... Not certain if this temp fix applies to your case or not :smileyhappy:

Author of Shopping Cart Calculator, BP Monitor & Book-zy
@kodybb on Twitter

Developer
ankursahu19
Posts: 64
Registered: ‎03-20-2013
My Device: Z10(Red Limited Edition)

Re: BB10: Infinite Scroll on ScrollView

if you are using container with stacklayout and also set spacequota then scrollview will scroll infinite So removing this spacequota and fix this problem.