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

Recalculate handle position if sortable group changes after drag start

Offen
#262 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
299
Forks
159
Ø Merge
4 T. 6 Std.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.