Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 309993d

Browse files
fix(dialogs): remove dialogs scroll on entry (#2599)
1 parent 80190ce commit 309993d

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎dist/drawer-dialog/drawer-dialog.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
-webkit-overflow-scrolling: touch;
1212
align-items: flex-end;
1313
overflow-y: auto;
14+
overflow: hidden;
1415
position: fixed;
1516
right: 0;
1617
top: 0;

‎dist/panel-dialog/panel-dialog.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
-webkit-overflow-scrolling: touch;
1111
flex-direction: column;
1212
overflow-y: auto;
13-
overflow-y: hidden;
13+
overflow: hidden;
1414
position: fixed;
1515
right: 0;
1616
top: 0;

‎src/sass/drawer-dialog/drawer-dialog.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
@include dialog-base();
99

1010
align-items: flex-end;
11+
overflow: hidden;
1112
}
1213

1314
.drawer-dialog--no-mask[role="dialog"] {

‎src/sass/panel-dialog/panel-dialog.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/* need to override base as panel dialog is the only one to scroll the content only */
1111
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
12-
overflow-y: hidden;
12+
overflow: hidden;
1313
}
1414

1515
.panel-dialog__window {

0 commit comments

Comments
 (0)