feat(cdk/drag-drop): X and Y as percentage values instead of px
オープン
feature
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Feature Description
We are developing a mobile app in which users should be able to move elements back and forth in a certain area. The position of the elements should obviously be identical for every user. However, this does not work since each user has a different smartphone and therefore a different screen width, as cdk/drag-drop works with px values. One should be able to switch from px to % in order to ensure the correct position regardless of the screen resolution (or the width of the boundary element).
コントリビューションガイド
調査の方向性
まず、X と Y の位置を保存して適用する cdk/drag-drop 実装を見つけ、既存のピクセルベースの動作とテストを確認します。パーセント値をどのように受け入れ、境界要素を基準に変換するかを定義します。異なる境界要素の幅でも位置の一貫性が保たれ、動作がテストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100