Skip to content

Commit bdad833

Browse files
author
Guillaume Chau
committed
docs: typos
1 parent edafae0 commit bdad833

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
@@ -146,12 +146,12 @@ Here is what the internals of RecycleScroller look like:
146146
<RecycleScroller>
147147
<!-- Wrapper element with a pre-calculated total height -->
148148
<wrapper
149-
:style="{ height }"
149+
:style="{ height: computedTotalHeight + 'px' }"
150150
>
151151
<!-- Each view is translated to the computed position -->
152152
<view
153153
v-for="view of pool"
154-
:style="{ top: 'translateY(' + view.computedTop + 'px)' }"
154+
:style="{ transform: 'translateY(' + view.computedTop + 'px)' }"
155155
>
156156
<!-- Your elements will be rendered here -->
157157
<slot

0 commit comments

Comments
 (0)