Commit 301cde2
committed
fix(material/menu): handle keyboard events through dispatcher
Currently `mat-menu` handles it keyboard events in the template, however this ignores the overlay's stacking context which can capture some events that it shouldn't.
These changes switch the menu to handling the events through the common dispatcher instead.
Fixes #29996.1 parent 96afa88 commit 301cde2
File tree
4 files changed
+6
-14
lines changed4 files changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
477 | | - | |
| 476 | + | |
478 | 477 | | |
479 | | - | |
480 | 478 | | |
481 | 479 | | |
482 | 480 | | |
483 | 481 | | |
484 | 482 | | |
485 | | - | |
486 | 483 | | |
487 | 484 | | |
488 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | 388 | | |
393 | 389 | | |
394 | 390 | | |
| |||
0 commit comments