angular / angular/components

CDK Drag boundary is not working for SVG element

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

説明

I am working on one project which having functionality to draw shape and drag it in it's container but when I used cdkBoundary for rect element and drag it then transform property updated base on top most parent's coordinate.

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

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

調査の方向性

SVG rect に対する Angular CDK の drag-boundary の動作から始め、issue に記載されたケースを再現します。最上位の親要素を基準に transform がどのように計算されるかに注目してください。期待される座標系を維持しながら、boundary が SVG 要素をコンテナ内に収めることを確認してください。

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

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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