Feature request - expansion panel option to only expand/collapse on ▽ or △
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### Bug, feature request, or proposal:
Feature request
#### What is the expected behavior?
Ability to optionally only open / close expansion panel when up/down arrow is selected rather than the entire panel title
#### What is the current behavior?
The entire title triggers the behaviour
#### What is the use-case or motivation for changing an existing behavior?
e.g. Outlook.com user interface - selecting a 'folder' is an action (e.g. edit the folder) - toggling its slider-like display requires action on the up/down button. Seems to make sense from a user interaction point of view. This can't be reproduced with the material expansion panel. It's useful when selecting the title implies 'more information' on this panel.
#### Is there anything else we should know?
Workaround (untested) - add click handler to mat-panel-title and do not propagate the event
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il componente expansion panel di Angular Material e i relativi test di interazione esistenti. Esamina come vengono attualmente gestiti i clic sul titolo del pannello e sulla freccia, quindi definisci il comportamento opzionale e verifica che la selezione del titolo e il toggle della freccia funzionino in modo indipendente senza modificare il comportamento predefinito.
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
- Specificata chiaramente
- Idoneità per principianti
- 35/100