The ListView is great, but we seem to be having issues when using it as the source for a drag-n-drop operation.
I’ve attached a simple example which demonstrates the issue (with 2.0.47.0). It seems to be highly dependent on the browser used as in (all on Windows):
Chrome: Works OK
FireFox: Sort of “sticky”, will work eventually but usually needs additional mouse moves or [left] clicks to drop
Edge: Doesn’t work at all (can’t drop)
Is this [1] something to do with FireFox/Edge, [2] something to do with WiseJ or [3] are we doing the Drag-Drop operation incorrectly or using incorrect objects?
Any suggestions greatly appreciated!
Regards,
Mark
(We have worked-around it for now by using a FlexPanel of UserControls (with the drag operation initiated from the item UserControl), but it would be much simpler to use the ListView)
Hi Mark,
this had been logged as #2015 and a fix is included in the latest Wisej release (2.0.54).
Best regards
Frank
Hi Frank,
Fix seems to be OK.
Thanks,
Mark
Hi Luca,
Thanks for your time to look at the issue (we appreciate that the browsers present multiple moving targets for you guys).
The work-around seems to be OK, but I will keep an eye out for any side effects.
Regards,
Mark
it’s caused by the <img> tag. FF and Edge try to drag the image, it’s an unwanted “feature”. Add this to Default.html in <head>. I don’t know if it has some negative side effect. I’ll log the issue and we’ll fix it in Wisej.
<style>
img {
pointer-events: none;
}
</style>