adopted-ember-addons / adopted-ember-addons/ember-sortable

Recalculate handle position if sortable group changes after drag start

オープン
#262 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
299
フォーク
159
平均マージ
4日 6時間
マージ済み PR(30日)
4

説明

**Describe the bug**
My sortable group is made up of a series of bootstrap cards (fancy squares) which can become quite long so I'd set these up to collapse on drag start to make them easier to move around.

What seems to happen is that the sort item gets separated from the cursor (see screenshot) making it nearly impossible to drag the items around.

**Expected behaviour**
I would expect the sort item to remain stuck to the cursor.

**Screenshots**
See video screenshot for example:
![sortablebug](https://user-images.githubusercontent.com/2316837/59593351-aca84780-90e9-11e9-8906-7f201463e40d.gif)

**Additional context**
I'm wondering whether an event on the sortable group might be the answer here... and apply this action before actually starting the dragging transitions etc.

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

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

評価

この issue はまだ評価されていません。

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

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