cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit scroll list frm scroll past the end of the list. Overshoot for the bottom?

ARM_and
Associate III

We can control the overshoot percentage of a scroll list which seems to limit how much a "pull down" is allowed and animated above the top of the list.

Is there a similar thing for the bottom of the list?

a way to keep the list from being scrolled past the bottom of it as it's happening in the below image? (the list contains 9 elements in total.

 

ARM_and_0-1750437421274.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
GaetanGodart
ST Employee

Hello @ARM_and ,

 

Unfortunately as far as I know, there is no functions to change that.
We are aware of that limitation and are considering changing the implementation.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

2 REPLIES 2
GaetanGodart
ST Employee

Hello @ARM_and ,

 

Unfortunately as far as I know, there is no functions to change that.
We are aware of that limitation and are considering changing the implementation.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Thankyou @GaetanGodart .

 

If you decide not to change the implementation, it would be nice to know if there is some function we can override in our .cpp file and call animateToItem(lastItemIndex - 4, 1) if the newY is out of spec.

 

-A