You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/props.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,16 @@ The number of lines rendered by the virtual scroll
32
32
33
33
The estimated height of each piece of data, you can choose to pass it or not, it will be automatically calculated
34
34
35
+
## `buffer`
36
+
37
+
|**Type**|**Default**|
38
+
| -------- | ----------------------- |
39
+
|`Number`|`Math.round(keeps / 3)`|
40
+
41
+
Buffer size to detect range change
42
+
43
+
> If a rendering anomaly occurs, for example: [this issue](https://github.com/mfuu/vue3-virtual-sortable/issues/29), you can reduce the value or set it to 0.
0 commit comments