Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

The images take some time before being displayed after a scroll event #64

Open
tleunen opened this issue Apr 12, 2017 · 2 comments
Open

Comments

@tleunen
Copy link

tleunen commented Apr 12, 2017

The user experience using the component is currently not great. If I scroll a bit too fast (but an acceptable speed for a user), we'll see that the images are not loaded.

kapture 2017-04-11 at 21 04 17

@tleunen tleunen changed the title Waiting time before seeing something on scroll event The images take some time before being displayed after a scroll event Apr 12, 2017
@tommoor
Copy link
Owner

tommoor commented Apr 12, 2017

Hmm, I'm not sure what's happening here - although I can see white space if scrolling very fast it isn't this bad in my experience.

There's definitely a trade off to be made between performance and UX, but I think we could probably double the overscanRowCount from 10 to 20 or so to make this better…

https://github.com/bvaughn/react-virtualized/blob/master/docs/List.md#prop-types

@valentinvichnal
Copy link

@tommoor awesome project!
I believe this is happening because the use of cdn.jsdelivr.net and each emoji image requested separately.

As this project already React, could we use instead of the main emojione repo something like: https://github.com/pladaria/react-emojione
Which just renders the pre downloaded images.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants