[Drag and drop] problems when changing height after start
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla riproduzione StackBlitz collegata, in particolare da app/app.component.css, e riproduci una variazione dell’altezza dopo l’inizio del trascinamento. Segui il punto di ingresso del drag-and-drop di Angular per determinare dove le dimensioni obsolete dell’elemento influiscono sul posizionamento del segnaposto. L’attività è completata quando il segnaposto e il comportamento di trascinamento rimangono corretti quando gli elementi trascinabili cambiano altezza durante un trascinamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100