angular / angular/components

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

オープン
#13,340 コメント 2 件 リアクション 31 件 担当者 0 名 GitHub で見る
area: cdk/drag-drop feature P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、issue に記載されている CdkDrop、CdkDragDrop、cdkDropZone、cdkDropList のエントリーポイントを追跡します。現在の drop の動作がリストの順序をどのように更新するかを確認し、そのうえで、cdkDropZone では UI の順序を変更せず、cdkDropList では並べ替えを維持するように、それぞれの動作を分離して定義します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。