Skip to content

Conversation

@bartoszherba
Copy link
Collaborator

@bartoszherba bartoszherba commented May 12, 2022

Description

perf: prevent loading all main images on the mobile PDP gallery

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

}
}
.sf-gallery {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, basically, all gallery images are lazyloaded, on the mobile, all were in the viewport, now only the first one will be so the rest will be not loaded instantly.

@bartoszherba bartoszherba force-pushed the M2-578-do-not-load-main-images-assets-instantly-on-the-mobile branch from 9a45ec1 to 0fe9e0a Compare May 12, 2022 11:02
@bartoszherba bartoszherba merged commit 9053121 into develop May 12, 2022
@bartoszherba bartoszherba deleted the M2-578-do-not-load-main-images-assets-instantly-on-the-mobile branch May 12, 2022 11:58
@Frodigo Frodigo added this to the 1.0.0-rc.8 milestone May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants