Open meowtec opened 3 years ago
Workaround using overscanCount={N}
Have same issue. This library working well only if list outside other 'relative' or 'absolute' container.
Workaround using
overscanCount={N}
@meowtec, what's N
here?
Workaround using
overscanCount={N}
@meowtec, what's
N
here?
N
is an arbitrary number, like 4
5
or 6
.
Make sure that N * itemHeight
be greater than padding
.
MDN:
For some reasons the
offsetParent
sometimes could be some other node, not the body (scroll container).Example (modify from the example code):
Would see some blank at the top of list.