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

fix(cdk/drag-drop): error if dragged item is destroyed as a result of the entered event #22904

Merged
merged 1 commit into from Jun 10, 2021

Commits on Jun 6, 2021

  1. fix(cdk/drag-drop): error if dragged item is destroyed as a result of…

    … the `entered` event
    
    When an item enters a new drop container, we dispatch an event and run some logic afterwards. The problem is that if the item is destroyed as a result of the event, the logic after the event will throw because dragging was interrupted.
    
    Fixes angular#22813.
    crisbeto committed Jun 6, 2021
    Copy the full SHA
    c0efce8 View commit details
    Browse the repository at this point in the history