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

cdk-drop-list: not add class .cdk-drop-list-dragging to CdkDropList container #13680

Closed
quangquy87 opened this issue Oct 19, 2018 · 1 comment · Fixed by #13703
Closed

cdk-drop-list: not add class .cdk-drop-list-dragging to CdkDropList container #13680

quangquy87 opened this issue Oct 19, 2018 · 1 comment · Fixed by #13703
Assignees
Labels
P4 A relatively minor issue that is not relevant to core functions

Comments

@quangquy87
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

What is the current behavior?

I tried add ChangeDetectionStrategy.OnPush into component, cdk-drop not insert class .cdk-drop-list-dragging to CdkDropList container

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://stackblitz.com/edit/angular-xwyhj3?file=app/cdk-drag-drop-sorting-example.ts

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

"@angular/animations": "^7.0.0",
"@angular/cdk": "^7.0.0",
"@angular/common": "^7.0.0",
"@angular/compiler": "^7.0.0",
"@angular/core": "^7.0.0",
"@angular/forms": "^7.0.0",
"@angular/http": "^7.0.0",
"@angular/material": "^7.0.0",
"@angular/material-moment-adapter": "^7.0.0",
"@angular/platform-browser": "^7.0.0",
"@angular/platform-browser-dynamic": "^7.0.0",
"@angular/router": "^7.0.0",
"angular-in-memory-web-api": "^0.6.1",
"core-js": "^2.5.7",
"hammerjs": "^2.0.8",
"moment": "^2.22.2",
"rxjs": "^6.3.3",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.26"

Is there anything else we should know?

@crisbeto crisbeto self-assigned this Oct 19, 2018
@josephperrott josephperrott added the P4 A relatively minor issue that is not relevant to core functions label Oct 19, 2018
crisbeto added a commit to crisbeto/material2 that referenced this issue Oct 20, 2018
…t with OnPush change detection

Fixes the `CdkDropList` not toggling its `cdk-drop-list-dragging` class if it's placed inside a component with `OnPush` change detection.

Fixes angular#13680.
crisbeto added a commit to crisbeto/material2 that referenced this issue Nov 4, 2018
…t with OnPush change detection

Fixes the `CdkDropList` not toggling its `cdk-drop-list-dragging` class if it's placed inside a component with `OnPush` change detection.

Fixes angular#13680.
jelbourn pushed a commit that referenced this issue Nov 5, 2018
…t with OnPush change detection (#13703)

Fixes the `CdkDropList` not toggling its `cdk-drop-list-dragging` class if it's placed inside a component with `OnPush` change detection.

Fixes #13680.
jelbourn pushed a commit that referenced this issue Nov 6, 2018
…t with OnPush change detection (#13703)

Fixes the `CdkDropList` not toggling its `cdk-drop-list-dragging` class if it's placed inside a component with `OnPush` change detection.

Fixes #13680.
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
3 participants