Skip to main content
ARM_and
Associate III
Jun 20, 2025 4:42 PM UTC
Solved

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

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

 

 

This topic has been closed for replies.
GaetanGodart
GaetanGodartBest answer
ST Employee
Jun 23, 2025 2:24 PM UTC

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 GodartSoftware engineer at ST (TouchGFX)

2 replies

GaetanGodart
GaetanGodartBest answer
ST Employee
Jun 23, 2025 2:24 PM UTC

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 GodartSoftware engineer at ST (TouchGFX)
ARM_and
ARM_andAuthor
Associate III
Jun 26, 2025 2:02 PM UTC

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