loadOnTransitionStart doesn't work
See original GitHub issue const params = { pagination: { el: '.swiper-pagination', type: 'bullets', clickable: true, dynamicBullets: true }, slidesPerView: 1, loop: true, preloadImages: false, lazy: { enabled: true, loadOnTransitionStart: true } };
We need the image to start loading as soon as the swipe begins rather than waiting for the blur event. This property doesn’t seem to be working however! Still only lazy loads on blur.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
react native - What am i doing wrong with this stack navigator?
The issue I'm having is that the stack navigator doesn't navigate. ... originating screen) * onTransitionStart` (on the stack transition).
Read more >Swiper API
Swiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior.
Read more >Animation Add-Ons - React
The ReactTransitionGroup add-on component is a low-level API for animation, and ReactCSSTransitionGroup is an add-on component for easily implementing basic CSS ...
Read more >Transitioner - React Navigation
Transitioner is a React component that helps manage transitions for complex animated components. It manages the timing of animations and keeps track of...
Read more >Element: transitionstart event - Web APIs - MDN Web Docs
If the transition doesn't run on a pseudo-element but on the element, ... The same, but using the ontransitionstart property instead of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @joe-f , sorry for my late reply cause I am so busy recently. I found one solution for u.
Actually, it doesn’t. @kidjp85 's solution just do this:
But issue question relates to another possibility: lazy load slide image only when user tries to swipe to this slide.