You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi folks,
I would really like to use the Drag and Drop-feature provided by your List-component.
Unfortunately, Drag and Drop does work when the mousedown-event happens to be located on text or any direct child of the ListItemStandard.
Adding my 2 cents:
This is Chromium bug, which doesn't allow dragging custom elements by a slotted element.
The issue is reported here https://issues.chromium.org/issues/328263459.
Possible workaround is to use Firefox.
Hi @ta834n ,
as my colleague suggested above, this issue seems to be Chromium issue with Drag & Drop functionality, when using it upon a slot. We can both assign to watch if any progress is marked on their side and see how it will affect the UI5 List item issue.
Best regards,
Petya Markova
UI5 Web Components Developer
Bug Description
Hi folks,
I would really like to use the Drag and Drop-feature provided by your
List
-component.Unfortunately, Drag and Drop does work when the
mousedown
-event happens to be located on text or any direct child of theListItemStandard
.You can try this yourself using your own example here: https://sap.github.io/ui5-webcomponents/components/List/#drag-and-drop
Simply click on the text "Item #1" and try to drag that item. Nothing will happen.
If you adjust the code as follows, the item won't be movable at all (except when you manage to hit the thin border of the blue selection-box):
<ui5-li icon="checklist-item" movable><div>Item #1</div></ui5-li>
Affected Component
List, ListItemStandard, ListItemCustom
Expected Behaviour
I expect a
ListItemStandard
and aListItemCustom
to be draggable as long as themousedown
-event happens within the bounding-box of such an item.Isolated Example
https://sap.github.io/ui5-webcomponents/components/List/#drag-and-drop
Steps to Reproduce
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
2.9.0
Browser
Chrome
Operating System
Mac OS
Additional Context
No response
Organization
Neckar IT GmbH
Declaration
The text was updated successfully, but these errors were encountered: