Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DragOvering the DraggableObject from one SortableObjects to another not working properly. #212 #215

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kesavan-ss
Copy link

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.

…s that it is not working properly when drag drops from one list to another list.
Issue while drag and drop to multiple list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant