Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ドラッガブルのコンテインメントの設定に問題がありました。ドラッグが開始された後、封じ込めを再計算したいと思います。
以前、この 2つの質問をしました。
私は答えを見つけたと思います。これは、実行したいコード行です。
o.containment = this.helper[0].parentNode;
唯一の問題は、このメソッドを呼び出すことになっているものがわからないことです。それはドラッグ可能なアイテム自体ではありません。試してみました。