RFE: add Python methods to get/set scroll position in fraction & pixels on List COMP & Panel COMP
Why: We’re building UI interfaces for touchscreens. We want to implement drag to scroll (as this has become the default UX on mobile apps these days). For this we would need a Python method to control the scroll uv in fraction and/or pixels, and we need to read the current scroll position.
Panel/Container COMPs have no methods to get/set scroll position
List COMP has a method to set scroll(row, col) which is too coarse for smooth scrolling, so we would need fraction (uv) and/or pixel units arguments added to this scroll method. ListComp already has scrollu and scrollv as panel values:
This RFE to control scrolling is a popular request, see these threads below.
Yeah, running 2021.38110 experimental is not recommended, it is very high risk (and full of issues we’ve fixed since Dec 17, 2021) as it was one of the first posted experimental builds after our transition to Vulkan. It should not be used for production or any delivering project. I would say access to scrollu/scrollv is not worth the risk of running that build.