I've noticed some strange behavior using iScroll in a C# UWP application:
When I display a list of selectable items, if I click too quickly on several items, for some reason the selection remains stuck on an item and I have too really slow down my click rate in order to be able to select/unselect other items.
After investigation I've been able to bring a fix by changing the delay in iscroll-probe.js line 513 to 100 down from 300.
The issue then disappeared. Since I'm not sure to understand the code correctly, I added a check on the webview in order to change this value only for Edge, so my fix looks like:
var scrollDelay = 300;
if(navigator.appVersion.indexOf('Edge') > -1)
{
scrollDelay = 100;
}
// We need to move at least 10 pixels for the scrolling to initiate
if ( timestamp - this.endTime > scrollDelay && (absDistX < 10 && absDistY < 10) ) {
return;
}
Please let me know if I can bring you more information on the reproduction steps.
Hi,
I've noticed some strange behavior using iScroll in a C# UWP application: When I display a list of selectable items, if I click too quickly on several items, for some reason the selection remains stuck on an item and I have too really slow down my click rate in order to be able to select/unselect other items.
After investigation I've been able to bring a fix by changing the delay in iscroll-probe.js line 513 to 100 down from 300. The issue then disappeared. Since I'm not sure to understand the code correctly, I added a check on the webview in order to change this value only for Edge, so my fix looks like:
Please let me know if I can bring you more information on the reproduction steps.
Regards,