Drag Drop: mat-grid-tile does not retain height when being dragged
- 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?
When dragging an item in a list, element rendered next to the user's cursor should look exactly like the element that is being dragged.
#### What is the current behavior?
Height changes and becomes bigger when item is being dragged
#### What are the steps to reproduce?
I use Mat-Grid-List example available in the docs at https://stackblitz.com/angular/oegmxkolgyr?file=app%2Fgrid-list-overview-example.html
Just display it on one line because of "Drag Drop Sortable, mixed orientation support (#13372 )" bug and add drag/drop like this:
```
1
2
3
4
```

When rowHeight is set to a ratio, height of item being drag changes.
Any solution to keep height at correct ratio?
Guía de contribución
Línea de trabajo
Empieza reproduciendo el problema en el StackBlitz enlazado usando el marcado mat-grid-list y un rowHeight basado en proporciones. Inspecciona la interacción entre mat-grid-tile y drag/drop durante la vista previa del arrastre. Se considera terminado cuando el tile arrastrado conserva la misma proporción de altura y anchura que el tile original.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100