View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001405||NoesisGUI||C# SDK||public||2019-02-05 23:16||2019-08-22 08:53|
|Target Version||Fixed in Version||2.2.4|
|Summary||0001405: Cannot stop manipulation inertia in ListBox/ScrollViewer|
|Description||See forum https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1581|
I have a ListBox with list of fonts that the user can scroll through and a separate control for paging through the fonts.
pagescroll.png (28.25 KiB) Viewed 15 times
When the user switches to another page, I replace the contents of the ListBox with another set of fonts and scroll to position 0.
There are situations when a user starts scrolling the ScrollViewer using touch on phone, then realizes they want to switch to another page and quickly presses the page switch buttons.
When the above happens, the ListBox keeps scrolling even though its contents are now different.
How do I cancel the inertia velocity for the ListBox to "stop it in its tracks"? :)
|Steps To Reproduce||1. Create listbox with items and a button with text "scroll to 0" that calls call ScrollToHorizontalOffset(0)|
2. Run on Android (touch device)
3. During scrolling with finger, quickly lift finger up and tap "Scroll to 0"
Listbox scrolls to 0 and doesn't move
Listbox scrolls to 0 and continues to scroll due to inertia from user's touch.
|Tags||No tags attached.|
|2019-02-05 23:16||nokola||New Issue|
|2019-02-05 23:54||sfernandez||Assigned To||=> jsantos|
|2019-02-05 23:54||sfernandez||Status||new => assigned|
|2019-02-05 23:54||sfernandez||Relationship added||related to 0000866|
|2019-08-22 08:53||jsantos||Status||assigned => resolved|
|2019-08-22 08:53||jsantos||Resolution||open => fixed|
|2019-08-22 08:53||jsantos||Fixed in Version||=> 2.2.4|