angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.33k stars 6.73k forks source link

cdkDrag in ngSwitch #16895

Closed mina-skunk closed 5 years ago

mina-skunk commented 5 years ago

Reproduction

https://stackblitz.com/edit/components-issue-6xqvcp-cdkdrag-in-ngswitch?file=app/app.component.html

Steps to reproduce:

  1. Drag first item, see y axis locked
  2. Drag any other item, drags freely

Also if you look in the console the QueryList of CdkDropList._draggables only ever has one element.

Expected Behavior

All [cdkDrag] s to be part of [cdkDropList] they are inside of.

Actual Behavior

[ngSwitch] obstructs

Environment

crisbeto commented 5 years ago

Should be resolved by https://github.com/angular/components/pull/17226.

angular-automatic-lock-bot[bot] commented 4 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.