Replies: 10 comments
-
I'm not sure if this issue is related to this library. Do you have some problems with skeleton/unexpected behaviour? |
Beta Was this translation helpful? Give feedback.
-
I want when scrolling body and loading new items to show a skeleton until loaded my new data |
Beta Was this translation helpful? Give feedback.
-
I don't understand what problem is. Possible workaround is just add "loading" items to your loaded items and render it like this -
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your guidance |
Beta Was this translation helpful? Give feedback.
-
i need this feature too. I suggest adding this as a feature to the package😍 |
Beta Was this translation helpful? Give feedback.
-
This is unrelated to react-viewport-list. This library is just for virtualizing. You can create infinite scroll/loaders/skeletons by yourself. One of the possible workarounds is render fake items as I described above. generateEmptyItems is something like this
loadingItemsCount - a count of skeletons. It can be a count from your paginated fetch response |
Beta Was this translation helpful? Give feedback.
-
Maybe will be better to support Can it help you? |
Beta Was this translation helpful? Give feedback.
-
Guys what do you think? @sinaprgm1376 @arb195 |
Beta Was this translation helpful? Give feedback.
-
I don't understand your point |
Beta Was this translation helpful? Give feedback.
-
So, I don't understand what you want Do you want to a guide "how deal with loading and skeletons" or something API improvement? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋🏻
I want make a skeleton when list item loading
Beta Was this translation helpful? Give feedback.
All reactions