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

Recalculate handle position if sortable group changes after drag start

Aperta
#262 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
299
Fork
159
Merge medio
4g 6h
PR unite (30g)
4

Descrizione

**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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.