Replies: 3 comments 3 replies
-
Hi @asdutoit, Thank you for your question. At the time of writing, the only example of basic lazy loading is this CodeSandbox. Unfortunately it doesn't support what you want to do. When I created the CodeSandbox, Embla didn't have its plugin system, which was later released with v6. I think it would be nice to create a I've added Lazy Load to the plugin suggestion list:
Best, |
Beta Was this translation helpful? Give feedback.
-
From my experience and network testing on chrome, using native |
Beta Was this translation helpful? Give feedback.
-
Closing as this is either considered a DIY thing with the library, or could be achieved by creating a plugin. This is not something that will be built into the core. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if this solution is already available, but I could not find it in the documentation.
With
lazyloading
enabled, an option to include a prop that specifies that the next and previous images are pre-loaded would be greatly advantageous. This would lead to a great user experience.Airbnb for example, Implements this in their carousels.
Beta Was this translation helpful? Give feedback.
All reactions