mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
fix(menu): fix submenu SSR left keyboard close navigation
PiperOrigin-RevId: 569664658
This commit is contained in:
parent
d7b40fbafd
commit
d6f7220f0b
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user