Feature request - expansion panel option to only expand/collapse on ▽ or △
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
#### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par localiser le composant expansion panel de Angular Material et ses tests d’interaction existants. Examinez la manière dont les clics sur le titre du panneau et sur la flèche sont actuellement gérés, puis définissez le comportement facultatif et vérifiez que la sélection du titre et le basculement de la flèche fonctionnent indépendamment l’un de l’autre, sans modifier le comportement par défaut.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100