Skip to content

Commit 6217c55

Browse files
committed
Additional info
1 parent 3134c42 commit 6217c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ There are additional props you can use:
4242

4343
The `renderers` map is an object containing a component definition for each possible value of the item type. **The component definition must have an `item` prop, that will get the item object to render in the scroller.**
4444

45-
Also, you need to set the size of the virtual-scroller element and the items elements (for example, with CSS).
45+
Also, you need to set the size of the virtual-scroller element and the items elements (for example, with CSS). All items should have the same height to prevent display glitches.
4646

4747
# Example
4848

@@ -86,7 +86,7 @@ export default {
8686

8787
<style>
8888
.scroller {
89-
height: 300px;
89+
height: 100%;
9090
}
9191
9292
.scroller .item {

0 commit comments

Comments
 (0)