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
Hello,
When dragging the object and dragOvering to another list. It was added to the new list even without dropping the item. And not able to shift that item without dropping the currentDragItem. Then I need to drop the current item, drag and dragover the object again to shift the object.
The reason is,
const hasSameSortingScope = this. get('currentDragItem.sortingScope ') === emberObject.get('sortingScope');
this.get return undefined in this chain path.
I cannot create pull requests because of rights. But I found the solution.
In addon/services/drag-coordinator.js, line 79 you can replace : const hasSameSortingScope = this.get('currentDragItem.sortingScope') === emberObject.get('sortingScope');
by : const hasSameSortingScope = this.get('currentDragItem').get('sortingScope') === emberObject.get('sortingScope');
Hello,
When dragging the object and dragOvering to another list. It was added to the new list even without dropping the item. And not able to shift that item without dropping the currentDragItem. Then I need to drop the current item, drag and dragover the object again to shift the object.
The reason is,
const hasSameSortingScope = this. get('currentDragItem.sortingScope ') === emberObject.get('sortingScope');
this.get return undefined in this chain path.
sol:
const hasSameSortingScope = this. get('currentDragItem').sortingScope === emberObject.get('sortingScope');
or
const hasSameSortingScope = this.currentDragItem.sortingScope === emberObject.sortingScope;
Hopefully, it will not change other behaviors.
Can I create a pull request for this fix?
Thank You:)
The text was updated successfully, but these errors were encountered: