cancel
Showing results for 
Search instead for 
Did you mean: 

Missing setScrollThreshold for ScrollList

sndstrm
Associate

We're currently investigating issues with our scroll list regarding the selection of an element.

Scrolling works fine (resistive touch with ~4k points in each direction on an 480x272px screen). But if you want to select an item, on most occasions a drag move is registered instead of a click and the list is scrolled by a few pixels. Unfortunately the setScrollThreshold is only implemented for ScrollContainer, not on ScrollBase level, so it can be used by all Scroll-Widgets. We tried reducing the touch resolution to 4px, it improves the behavior for distinguishing between click and drag, but generates a very coarse scrolling experience (stepping). We'll try to implement a matching behaviour on the TouchController level (report same position while pressed unless moved n pixels), but would appreciate a less hacky solution.

Edit: the hacky solution works reliable and well, but has to be implemented on a much lower level with possible unwanted outcomes (e.g. screen calibration for resistive touch would need to toggle the behavior off.)

0 REPLIES 0