Skip to content

Commit

Permalink
fix: use overflow auto on #drawer-list scrollbar instead of always sc…
Browse files Browse the repository at this point in the history
…roll
  • Loading branch information
tujoworker committed Nov 27, 2020
1 parent f7120f4 commit 9f12579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ exports[`DrawerList scss have to match snapshot 1`] = `
.dnb-drawer-list--scroll .dnb-drawer-list__options {
min-height: 2rem;
max-height: 70vh;
overflow-y: scroll;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-width: thin;
-webkit-overflow-scrolling: touch;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
min-height: 2rem;
max-height: 70vh;

@include scrollY();
@include scrollY(auto);
}
&--opened &__options {
scroll-behavior: smooth;
Expand Down

0 comments on commit 9f12579

Please sign in to comment.