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

Recalculate handle position if sortable group changes after drag start

Abierto
#262 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
299
Forks
159
Merge medio
4 d 6 h
PR fusionados (30 d)
4

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.