angular / angular/components

Support MouseOver For Menu Instead Of Click

Abierto
#17,372 5 comentarios 3 reacciones 0 asignados Ver en GitHub
area: material/menu feature material spec P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### Feature Description
I would like an option to be available for MdMenu that will open it when the mouse is over the menu element, and close it when the mouse leaves the menu element, or the menu dropdown.

**Provide a brief summary of the feature you would like to see.**

**This is duplicate of the Issue #2080**. Our team encountered the same problem in our development and we had to use the hacky method @Marshal27 provided in https://github.com/angular/components/issues/2080#issuecomment-444488219.

It looks like alot of people in this thread legitimately wanted this feature to use, and there was even talks about how it would work, then just died out for some reason, with some later outrage from people about the ignorance of the issue.

I would like to reopen this Issue and once again discuss ways we can integrate the mouseover functionality into the material menu. I can certainly use it and it would benefit me and looks like alot of other people as well.

#### Use Case
**Describe the use case(s) that the proposed feature would enable.**

Use case would be in menu structures where a mouse over functionality would be favorable over button click. For us we are doing a notification icon that would display the type and number of notification on hover.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

No se indica ningún archivo de implementación ni ninguna prueba. Empieza revisando el issue duplicado #2080 y el comentario de workaround referenciado, y determina después el comportamiento previsto de abrir al pasar el ratón y cerrar al salir con el ratón tanto para el elemento de menú como para el dropdown; se considera terminado cuando ese comportamiento esté integrado como una opción compatible de MdMenu.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.