[Drag and drop] problems when changing height after start
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### What is the expected behavior?
Drag and drop working :)
#### What is the current behavior?
If I change the height of elements (that are draggable) for example by hiding some elements **after I start dragging**, the drag and drop mechanism thinks the items are still the original height (and therefore rendering placeholder at wrong place and behaving incorrectly).
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-ggdtyr?file=app%2Fapp.component.css
(moving between columns does not work for some unknown reason but that is not important)
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
newest ones
#### Is there anything else we should know?
If you point me in the right direction, I can provide a fix.
Guía de contribución
Línea de trabajo
Comienza con la reproducción vinculada de StackBlitz, especialmente con app/app.component.css, y reproduce un cambio de altura después de que comience el arrastre. Sigue el punto de entrada de arrastrar y soltar de Angular para determinar dónde afectan las dimensiones obsoletas del elemento a la colocación del marcador de posición. La tarea estará terminada cuando el marcador de posición y el comportamiento de arrastre sigan siendo correctos cuando los elementos arrastrables cambien de altura durante un arrastre.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100