Skip to content

Commit 9c80de6

Browse files
committed
test(ac): revert logic
1 parent a03b562 commit 9c80de6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/src/components/action-sheet/action-sheet.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,23 +385,23 @@ export class ActionSheet implements ComponentInterface, OverlayInterface {
385385
>
386386
<ion-backdrop tappable={this.backdropDismiss} />
387387

388-
<div tabindex="0" aria-hidden="true"></div>
388+
<div tabindex="0"></div>
389389

390390
<div class="action-sheet-wrapper ion-overlay-wrapper" ref={(el) => (this.wrapperEl = el)}>
391391
<div class="action-sheet-container">
392392
<div class="action-sheet-group" ref={(el) => (this.groupEl = el)}>
393393
{header !== undefined && (
394-
<h2
394+
<div
395395
id={headerID}
396396
class={{
397397
'action-sheet-title': true,
398398
'action-sheet-has-sub-title': this.subHeader !== undefined,
399399
}}
400400
>
401401
{header}
402-
</h2>
402+
{this.subHeader && <div class="action-sheet-sub-title">{this.subHeader}</div>}
403+
</div>
403404
)}
404-
{this.subHeader && <h2 class="action-sheet-sub-title">{this.subHeader}</h2>}
405405
{buttons.map((b) => (
406406
<button
407407
{...b.htmlAttributes}
@@ -446,7 +446,7 @@ export class ActionSheet implements ComponentInterface, OverlayInterface {
446446
</div>
447447
</div>
448448

449-
<div tabindex="0" aria-hidden="true"></div>
449+
<div tabindex="0"></div>
450450
</Host>
451451
);
452452
}

0 commit comments

Comments
 (0)