Skip to content

Commit 62edc9e

Browse files
authored
fix: regression in scrollview that shows scrollbars when unneeded (#1908)
* fix: regression in scrollview that added scrollbars when unneeded * Create chilled-houses-impress.md
1 parent 5c5e894 commit 62edc9e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@aws-amplify/ui": patch
3+
---
4+
5+
fix: regression in scrollview that shows scrollbars when unneeded

packages/ui/src/theme/css/component/scrollView.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
.amplify-scrollview {
22
display: block;
3-
overflow: scroll;
3+
overflow: auto;
44
// @TODO: Deprecated - Remove in 3.0
55
&--horizontal {
66
overflow-x: scroll;
77
overflow-y: initial;
88
}
99
// @TODO: Deprecated - Remove in 3.0
1010
&--vertical {
11-
// @TODO: Deprecated - Remove in 3.0
1211
overflow-x: initial;
1312
overflow-y: scroll;
1413
}

0 commit comments

Comments
 (0)