Hi!
I'm asking your help with the ListBox component. When the page is not scrollable everything is fine, but when we can scroll the page, the clone of the grabbed element is positioning incorrectly from the top (the horizontal position is fine).
The ListBox js:
var items = JSON.parse('[{"id":4,"label":"123"},{"id":5,"label":"456"},{"id":6,"label":"789"},{"id":7,"label":"101"}]');
// initialize ListBox component
var listObj = new ej.dropdowns.ListBox({
dataSource: items,
fields: { text: 'label', value: 'id' },
allowDragAndDrop: true,
});
listObj.appendTo('#lb606427095710f');
ListBox html:
<div style="width: 250px; margin: 900px auto 0 auto; height: 200px;">
<input id="lb606427095710f">
</div>
The image of the incorrect position is in the attachment.
Thank you!
Attachment:
screenshot_c1638f5f.zip