Skip to content

Commit c3d74ad

Browse files
committed
test(ac): revert og styles and move tabs
1 parent b70f53f commit c3d74ad

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@
5353
display: block;
5454
position: fixed;
5555

56-
align-items: center;
57-
justify-content: center;
58-
5956
outline: none;
6057

6158
font-family: $font-family-base;
@@ -70,9 +67,11 @@
7067
}
7168

7269
.action-sheet-wrapper {
73-
display: flex;
70+
@include position(null, 0, 0, 0);
71+
@include transform(translate3d(0, 100%, 0));
7472

75-
flex-direction: column;
73+
display: block;
74+
position: absolute;
7675

7776
width: var(--width);
7877
min-width: var(--min-width);
@@ -83,6 +82,7 @@
8382
max-height: var(--max-height);
8483

8584
z-index: $z-index-overlay-wrapper;
85+
pointer-events: none;
8686
}
8787

8888
.action-sheet-title,

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

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

388-
<div tabindex="0"></div>
389-
390388
<div class="action-sheet-wrapper ion-overlay-wrapper" ref={(el) => (this.wrapperEl = el)}>
389+
<div tabindex="0"></div>
390+
391391
<div class="action-sheet-container">
392392
<div class="action-sheet-group" ref={(el) => (this.groupEl = el)}>
393393
{(header || this.subHeader) && (
@@ -448,9 +448,9 @@ export class ActionSheet implements ComponentInterface, OverlayInterface {
448448
</div>
449449
)}
450450
</div>
451-
</div>
452451

453-
<div tabindex="0"></div>
452+
<div tabindex="0"></div>
453+
</div>
454454
</Host>
455455
);
456456
}

0 commit comments

Comments
 (0)