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

bug(cdkDropList ): Module cdk/drag-drop has no exported member CDK_DROP_LIST #20406

Closed
felipeplets opened this issue Aug 24, 2020 · 2 comments · Fixed by #20410
Closed

bug(cdkDropList ): Module cdk/drag-drop has no exported member CDK_DROP_LIST #20406

felipeplets opened this issue Aug 24, 2020 · 2 comments · Fixed by #20410
Assignees
Labels
area: cdk/drag-drop P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@felipeplets
Copy link

felipeplets commented Aug 24, 2020

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/components-issue-qegopb

Steps to reproduce:

  1. Try import {CDK_DROP_LIST} from '@angular/cdk/drag-drop';

Reference file: https://stackblitz.com/edit/components-issue-qegopb?file=src%2Fapp%2Fmy-drop-list.directive.ts

Expected Behavior

What behavior were you expecting to see?
CDK_DROP_LIST should be available as in Angular 9.

Actual Behavior

The following error is issued:

Module '"node_modules/@angular/cdk/drag-drop"' has no exported member 'CDK_DROP_LIST'. Did you mean 'CdkDropList'?

Environment

  • Angular: 10.0
  • CDK/Material: 10.1
@felipeplets felipeplets added the needs triage This issue needs to be triaged by the team label Aug 24, 2020
@felipeplets
Copy link
Author

A workaround is to import ɵangular_material_src_cdk_drag_drop_drag_drop_b instead.

@crisbeto crisbeto self-assigned this Aug 25, 2020
@crisbeto crisbeto added area: cdk/drag-drop has pr P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed needs triage This issue needs to be triaged by the team labels Aug 25, 2020
crisbeto added a commit to crisbeto/material2 that referenced this issue Aug 25, 2020
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes angular#20406.
jelbourn pushed a commit that referenced this issue Aug 28, 2020
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes #20406.
jelbourn pushed a commit that referenced this issue Aug 28, 2020
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes #20406.

(cherry picked from commit f795b9d)
annieyw pushed a commit to annieyw/components that referenced this issue Aug 31, 2020
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes angular#20406.
mmalerba pushed a commit that referenced this issue Sep 2, 2020
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes #20406.
@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 28, 2020
wagnermaciel pushed a commit to wagnermaciel/components that referenced this issue Jan 14, 2021
A couple of injection tokens weren't exposed from the `drag-drop` module. Normally these sorts of tokens would be internal, but the code from the `drag-drop` module is meant to be extended so we have to expose them to allow people to reach the same level of functionality.

Fixes angular#20406.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: cdk/drag-drop P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants