Completed
Last Updated: 18 Feb 2022 13:45 by ADMIN
Release 2022.R1.SP.next
Aaron
Created on: 24 Jan 2022 22:17
Category: ListBox
Type: Bug Report
1
ListBox Drag & Drop Broken in 2022.1.119

Problem:
When using the ListBox control with drag & drop enabled, the "drag" event seems to be working correctly (ex. item is highlighted, it gets "selected" and "moves" as you move your cursor) but the "drop" event more often than not doesn't add the item to the list it was dragged to. Through testing, I've noticed that it does appear to occasionally get added to the other list successfully, but only after several failed attempts and it seems to be pretty random.

Reproducing:
I've created two examples in REPL based on demo code:

Additional Information:
In our real application, these ListBox components are bound to properties of the View's model, which results in code that essentially uses "local data" similar to the examples above. I've noticed that the "official demo" of the ListBox component's drag & drop feature (https://demos.telerik.com/aspnet-core/listbox/drag-and-drop) appears to work correctly. However, I've also noticed that this demo is using an Ajax data source, which I suspect might be what's causing the different behavior.

4 comments
ADMIN
Aleksandar
Posted on: 15 Feb 2022 09:06

Hi Aaron,

  1. I already see there is a commit on the issue and the item is current with status is "In Development".
  2. I do not have a workaround for the issue. If one was available I would have shared it in the initial response, for you and others to use it until an official fix is available.
  3. This refers to a support ticket by another customer on the same matter. This is why you could not access the ticket. The ticket is referenced for the developer to review reported scenario, in case further use case details are required when investigating the issue.

That said, as the issue is already being worked on, I suspect the fix should be available in the next release, scheduled for the beginning of March.

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Aaron
Posted on: 11 Feb 2022 15:16

Couple of questions on this:

  1. Any update on this? You confirmed this was a bug about two weeks ago, but the status here in the Feedback Portal still shows "Unplanned".
  2. Do you have any suggested workarounds for this issue while waiting for an "official" fix?
  3. I saw you added a comment in the GitHub issue that this was "also reported in ticket 1553132". How can I see the details of this other ticket? Searching for it in the Feedback Portal doesn't return any results (which I kind of suspected would be the case), and I don't see any type of "ticket lookup" function on here.
ADMIN
Aleksandar
Posted on: 31 Jan 2022 12:49

Hi Aaron,

Thank you for reaching out. I can confirm this is indeed a bug and a regression as well, introduced with the latest version:

GitHub issue

Basically, the reason for the current behavior is that the drop area is reduced. You can drop an item to the list on the right, and you can drop a second item to the list on the right, only you need to drop it over the previously added item. This is indeed unexpected, and you can monitor this item or the issue linked above for further details on when a fix will be available.

Please accept our apologies for any inconvenience caused.

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Aaron
Posted on: 24 Jan 2022 22:32

I noticed a few other things after submitting this:

  • It appears that after you manage to successfully drag & drop an item from the list on the left into the list on the right, you can never get more than that one item in the list on the right by dragging & dropping. If you remove the item from the list on the right (so it's empty again), then start trying to drag & drop an item from the left to the right, at some point you will be able to "drop" it successfully.
  • Drag & drop within the same ListBox control appears to work fine. For example, if you drag the first item in the list on the left down to the middle of the list then "drop" it, that item will move to the middle of the list. If you drag & drop it again to put it back at the top, it works fine. If you try to drag it over to the list on the right, however, it most likely won't get moved (unless you try a couple times and get lucky).