All cdkDrag items in a CdkDrop element are assumed to be members of a reorderable list
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par suivre les points d’entrée CdkDrop, CdkDragDrop, cdkDropZone et cdkDropList décrits dans l’issue. Déterminez comment le comportement actuel de drop met à jour l’ordre de la liste, puis définissez les comportements séparés de sorte que cdkDropZone laisse l’ordre de l’UI inchangé, tandis que cdkDropList conserve le réordonnancement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100