intershop / intershop-pwa

The Intershop PWA is an Angular based progressive web app storefront for the Intershop Commerce Platform.
https://www.intershop.com/progressive-web-app
MIT License
159 stars 85 forks source link

Lazy Loading of product links is delayed #1668

Open philippsauer opened 6 months ago

philippsauer commented 6 months ago

Actual Behavior

In the product links carousel, there is a lazyFetch function that is supposed to render the slide when it becomes visible: image see src\app\pages\product\product-links-carousel\product-links-carousel.component.html

If you click the arrow in the slider, so that the slides come into view, what you will see is this: image

The tiles are only loaded after the next user action (like scrolling further, or clicking somewhere)

Expected Behavior

Tiles in Product Links should be loaded as soon as they come into view

Steps to Reproduce the Bug

Steps to reproduce the behavior:

  1. Go to PDP that has at least 5 assignments for a specific product link type (Or visit some product pages, so that the recently viewed slider is displayed)
  2. Scroll down to the Product Links area and click '>' in one of the product links sliders
  3. Observe that the tiles are never loaded
  4. Scroll down a bit
  5. Observe that the tiles now successfully loaded

Environment Details

AB#96897