angular / angular/components

All cdkDrag items in a CdkDrop element are assumed to be members of a reorderable list

Abierto
#13,340 2 comentarios 31 reacciones 0 asignados Ver en GitHub
area: cdk/drag-drop feature P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

Currently all `cdkDrag` items in a `CdkDrop` element are treated as reorderable items in a list. While the underlying data structure is still left to the developer, the `CdkDragDrop` system updates the UI temporarily with changes to the "list order" even if the items are not supposed to be treated as a list.

Instead, we should have two directives for `CdkDrop` areas, `cdkDropZone` and `cdkDropList`. The former, does not do any automatic UI changes during the drag action and the latter does the current action of reordering items in the list.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza rastreando los puntos de entrada CdkDrop, CdkDragDrop, cdkDropZone y cdkDropList descritos en el issue. Determina cómo el comportamiento actual de drop actualiza el orden de la lista y, a continuación, define los comportamientos separados de modo que cdkDropZone deje sin cambios el orden de la UI, mientras que cdkDropList conserve el reordenamiento.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.