fix(menu): fix submenu SSR left keyboard close navigation

PiperOrigin-RevId: 569664658
This commit is contained in:
Elliott Marquez 2023-09-29 21:44:11 -07:00 committed by Copybara-Service
parent d7b40fbafd
commit d6f7220f0b

View File

@ -91,6 +91,11 @@ export class SubMenu extends LitElement {
`;
}
protected override firstUpdated() {
// slotchange is not fired if the contents have been SSRd
this.onSlotchange();
}
/**
* Shows the submenu.
*/