Skip to content

[DragDrop] drag items indexes not being updated #15089

Closed
@LiadIdan

Description

@LiadIdan

What is the current behavior?

I'm using the dragDrop service to create a draggable list from content children, but the previous and current indexes not being updated after updating the list.

What is the expected behavior?

The indexes should be updated after updating the list.

What are the steps to reproduce?

https://stackblitz.com/edit/cdk-drag-drop-index-bug-vaqfmc

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

Angular - 7.2.3
Material - 7.3.1

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions