Skip to main content
sndstrm
Visitor II
July 8, 2025
Question

Missing setScrollThreshold for ScrollList

  • July 8, 2025
  • 1 reply
  • 180 views

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.)

1 reply

GaetanGodart
Technical Moderator
July 10, 2025

Hello @sndstrm ,

 

Could you share the project?

You can also look at the elevator demo, where we implement a scrollList.

 

Regards,