diff --git a/core/src/components/action-sheet/action-sheet.tsx b/core/src/components/action-sheet/action-sheet.tsx index bf03534de42..5c1dcc26617 100644 --- a/core/src/components/action-sheet/action-sheet.tsx +++ b/core/src/components/action-sheet/action-sheet.tsx @@ -239,16 +239,18 @@ export class ActionSheet implements ComponentInterface, OverlayInterface { } render() { - const { htmlAttributes } = this; + const { header, htmlAttributes, overlayIndex } = this; const mode = getIonMode(this); const allButtons = this.getButtons(); const cancelButton = allButtons.find((b) => b.role === 'cancel'); const buttons = allButtons.filter((b) => b.role !== 'cancel'); + const headerID = `action-sheet-${overlayIndex}-header`; return ( -