Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 9dd2e35

Browse files
author
Robert Messerle
committed
fix(autocomplete): prevents scrollbar from displaying unnecessarily
Closes #4308
1 parent b8eabd3 commit 9dd2e35

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/virtualRepeat/virtual-repeater.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $virtual-repeat-scrollbar-width: 16px;
2323
.md-virtual-repeat-sizer {
2424
box-sizing: border-box;
2525
height: 1px;
26-
display: inline-block;
26+
display: block;
2727
margin: 0;
2828
padding: 0;
2929
width: 1px;
@@ -35,9 +35,7 @@ $virtual-repeat-scrollbar-width: 16px;
3535
margin: 0;
3636
padding: 0;
3737
position: absolute;
38-
// Leave room for the scroll bar.
39-
// TODO: Will probably need to perform measurements at runtime.
40-
right: $virtual-repeat-scrollbar-width;
38+
right: 0;
4139
top: 0;
4240
}
4341
}

0 commit comments

Comments
 (0)