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(drag-drop): cannot get placeholder element on cdkDragStarted #19457

Closed
muuvmuuv opened this issue May 27, 2020 · 1 comment · Fixed by #19493
Closed

bug(drag-drop): cannot get placeholder element on cdkDragStarted #19457

muuvmuuv opened this issue May 27, 2020 · 1 comment · Fixed by #19493
Assignees
Labels
area: cdk/drag-drop P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects

Comments

@muuvmuuv
Copy link

Reproduction

https://stackblitz.com/edit/components-issue-jk8rbb

Expected Behavior

Returns the placeholder element to manipulate

Actual Behavior

Returns undefined

Environment

  • Angular:9.1.9
  • CDK/Material:9.2.4
  • Browser(s): Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): latest macOS
@muuvmuuv muuvmuuv added the needs triage This issue needs to be triaged by the team label May 27, 2020
@crisbeto crisbeto added area: cdk/drag-drop 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 May 27, 2020
@crisbeto crisbeto added this to Triaged in triage #1 via automation May 27, 2020
@crisbeto crisbeto self-assigned this May 31, 2020
crisbeto added a commit to crisbeto/material2 that referenced this issue May 31, 2020
Fixes calling `CdkDrag.getPlaceholderElement` returning undefined if it's called in the `cdkDragStarted` event.

Fixes angular#19457.
jelbourn pushed a commit that referenced this issue Jun 29, 2020
…19493)

Fixes calling `CdkDrag.getPlaceholderElement` returning undefined if it's called in the `cdkDragStarted` event.

Fixes #19457.
jelbourn pushed a commit that referenced this issue Jun 29, 2020
…19493)

Fixes calling `CdkDrag.getPlaceholderElement` returning undefined if it's called in the `cdkDragStarted` event.

Fixes #19457.
@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 Jul 30, 2020
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
No open projects
triage #1
  
Triaged
Development

Successfully merging a pull request may close this issue.

2 participants