diff --git a/packages/calcite-components/src/components/action-menu/action-menu.tsx b/packages/calcite-components/src/components/action-menu/action-menu.tsx index 8f7b8a0d77a..ada7dc2fbfa 100755 --- a/packages/calcite-components/src/components/action-menu/action-menu.tsx +++ b/packages/calcite-components/src/components/action-menu/action-menu.tsx @@ -365,7 +365,7 @@ export class ActionMenu extends LitElement { actions?.forEach(this.updateAction); } - private handleDefaultSlotChange(event: Event): void { + private async handleDefaultSlotChange(event: Event): Promise { const actions = (event.target as HTMLSlotElement) .assignedElements({ flatten: true, @@ -383,6 +383,7 @@ export class ActionMenu extends LitElement { return previousValue; }, []); + await this.componentOnReady(); this.actionElements = actions.filter((action) => !action.disabled && !action.hidden); }