Open bradbarrow opened 5 years ago
Lazy loading appears to be triggered when slides "settle" into position.
When freeMode is set to true, the slides don't consistently settle into a space - they can be left in any position.
freeMode
The result is that, when freeMode is enabled:
This is particularly noticeable when you have more than 1 slide per view:
https://codesandbox.io/s/n9qzo21kkl
Try gently dragging slides into view and notice that they don't lazy load. Try swiping with a flick motion so that the slides are carried by momentum - notice that lazy loading is triggered.
interesting could this also explain #394
Overview
Lazy loading appears to be triggered when slides "settle" into position.
When
freeMode
is set to true, the slides don't consistently settle into a space - they can be left in any position.The result is that, when
freeMode
is enabled:This is particularly noticeable when you have more than 1 slide per view:
Reproduction
https://codesandbox.io/s/n9qzo21kkl
Try gently dragging slides into view and notice that they don't lazy load. Try swiping with a flick motion so that the slides are carried by momentum - notice that lazy loading is triggered.