mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
dfa40fc7fb
Allows for focus restoration to be disabled in a menu, similarly to some other components. In some cases restoring focus automatically might not make sense (e.g. if the user closes the menu by selecting something which then opens a dialog) and this allows consumers to customize the behavior as needed. Fixes #15168.