-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrolling of already loaded photos is not smooth, previews get unloaded #232
Comments
Do you have the dev tools opened? |
It happens with dev tools closed and opened, either way. What’s your question? ;) |
if dev tools opened = cache disabled = force fetch all photos every time ;) |
@jancborchardt can you confirm that it is no more the case with the latest master? |
Btw, nice mustachio @jancborchardt 😁 😍 |
@Mikescops no, seems this still exists – here’s another gif of me scrolling up and down quickly: |
@skjnldsv I bet this is our caching problem with N21 |
@Mikescops seems so yeah |
https://github.com/mdn/sw-test/ |
I think I will use Google Workbox, seems to be the most reliable implementation and has webpack support. |
Nice! |
Yup i have the same issue when loading photos as @jancborchardt |
Is there a change this gets backported to NC20? |
Nope, this is for NC21 only due to the new grid we implemented. |
Describe the bug
Scrolling up and down through the list is not smooth as previews of previously loaded pictures get unloaded. The image filetype icon is shown and the preview is loaded again, leading to flickering.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Scrolling is nice and smooth, you ideally never see any picture preview loading – but especially not for ones which you already scrolled past and are scrolling back up to.
Screenshots
Here’s a gif:
Using latest Photos app master.
The text was updated successfully, but these errors were encountered: