-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
bug(DragDrop): cdkDropListDropped fires from source rather than destination #20056
Comments
It's because the lists aren't actually connected, because there's no list with an id of |
Thanks for the quick reply, that has solved my issue. |
Let's keep the issue open for now, I'll add a warning so it's easier to catch problems like this in the future. |
We support connecting two drop lists by their ID, but if the ID is incorrect, we silently ignore it. These changes add a warning so it's easier to debug issues where the ID might be misspelled. Fixes angular#20056.
We support connecting two drop lists by their ID, but if the ID is incorrect, we silently ignore it. These changes add a warning so it's easier to debug issues where the ID might be misspelled. Fixes angular#20056.
We support connecting two drop lists by their ID, but if the ID is incorrect, we silently ignore it. These changes add a warning so it's easier to debug issues where the ID might be misspelled. Fixes #20056.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…#20057) We support connecting two drop lists by their ID, but if the ID is incorrect, we silently ignore it. These changes add a warning so it's easier to debug issues where the ID might be misspelled. Fixes angular#20056.
Reproduction
Stackblitz link:
https://stackblitz.com/edit/angular-ivy-mvaic6
Steps to reproduce:
Expected Behavior
The destination cdkDropList runs the console.log
Actual Behavior
The source cdkDropList runs the console.log
Environment
The text was updated successfully, but these errors were encountered: