[mat-menu] support horizontal (xPosition) overlap detection
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### Bug, feature request, or proposal:
feature
#### What is the expected behavior?
When [overlapTrigger] is false the menu will NOT overlap on the horizontal axis (xPosition)
#### What is the current behavior?
The horizontal axis is overlapping the triggering element wether overlapTrigger is true/false.
#### What is the use-case or motivation for changing an existing behavior?
Per the docs, the overlapTrigger should respect both x and y.
It is also a valid requirement.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular 5, material 5.0.0-rc0
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal punto di ingresso del posizionamento di Angular Material mat-menu e segui come overlapTrigger gestisce attualmente l’asse y rispetto a xPosition. Esegui i test pertinenti del menu, quindi verifica che impostare overlapTrigger su false impedisca la sovrapposizione orizzontale con l’elemento attivante, preservando il comportamento esistente quando è true.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100