bug(cdk-drag-drop, cdk-tree): FireFox (mouseenter) not working with cdkDrag
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
## Different behavior with cdkDrag and (mouseenter) between Chrome and Firefox
```
```
### Chrome: (mouseenter) event is triggered successfully, after (cdkDragStarted)

### Firefox: same logic fails

### Reproduction
Steps to reproduce:
1. Create `` structure inside Angular app
2. Add `(mouseenter)` to ``
3. Inside `` add `
4. Compare behavior between Chrome and FireFox
### Expected Behavior
Should be same
### Actual Behavior
Firefox: Failed `(mouseenter)` event execution
Event not triggering after `(cdkDragStarted)`
### Environment
- Angular: 10.2.7
- CDK/Material: 10.2.7
- Browser(s): Chrome 108.0.5359.124, FireFox 108.0.1
- Operating System (e.g. Windows, macOS, Ubuntu): Windows, Fedora
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo l’esempio cdk-tree con cdk-nested-tree-node, cdkDrag e gli eventi mouseenter/mouseleave e del ciclo di vita di drag in Firefox e Chrome. Confronta se mouseenter viene attivato dopo cdkDragStarted; il lavoro è completato quando in entrambi i browser si osserva lo stesso comportamento degli eventi.
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