Delay item selection in DataRepeater when using touch

0
0

Hi, I’m currently testing out the DataRepeater control version 2.5.30 and it works great but on mobile devices when a user scrolls the selected item changes to whatever item is at the moment you start the drag. This behavior looks off/feels weird.

Can I do something programmatically or is this something you have to change?

Thanks!

Vincent

  • You must to post comments
0
0

Hi Vincent,

this is fixed in our latest Release (Wisej 2.5.32).

Best regards
Frank

  • You must to post comments
0
0

Yep, it’s caused by a changed related to a fix for a glitch in mobile browsers “leaking” the pointerup events to the underlying elements. It should be fixed in our current internal build. You can try this patch (to be removed with the new release):

Create a file as an Embedded Resource in /Platform/wisej.web.DataRepeaterPatch.js

qx.Mixin.define("wisej.web.dataRepeater.ItemContentPatch", {

  construct: function () {
    this.addListener("click", this._onPointerDown, this);
    this.removeListener("pointerdown", this._onPointerDown, this);
 }
});

qx.Class.patch(wisej.web.dataRepeater.ItemContent, wisej.web.dataRepeater.ItemContentPatch);

 

In AssemblyInfo.cs uncomment [assembly: Wisej.Core.WisejResources(ExcludeList: “”)]

Let me know.

 

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.