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
I'd like to add some extra items at the top of the scrolling container, and I'm not sure about the best way to handle this. Here's an example code sandbox: https://codesandbox.io/s/rcv-with-extra-items-9i0nss.
When I first load the page, everything looks fine:
But when I scroll down, the innerRef box, stays a certain distance away from the top of the scrolling container.
Any ideas?
The only thing I can think of is to add in some special placeholder items to my list, and instead of rendering a row, I instead render the top boxes, but that seems like a clunky approach.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to add some extra items at the top of the scrolling container, and I'm not sure about the best way to handle this. Here's an example code sandbox: https://codesandbox.io/s/rcv-with-extra-items-9i0nss.
When I first load the page, everything looks fine:
But when I scroll down, the
innerRef
box, stays a certain distance away from the top of the scrolling container.Any ideas?
The only thing I can think of is to add in some special placeholder items to my list, and instead of rendering a row, I instead render the top boxes, but that seems like a clunky approach.
Beta Was this translation helpful? Give feedback.
All reactions