Check that this is really a bug
Reproduction link
https://codepen.io/heyitsmass/pen/wBWdJyW
Bug description
When using the lazy prop on a SwiperSlide in react, The onLoad attribute for the slide fires before the preloader can render. This results in the preloader never rendering and the core attempting to remove the non-existent element from the DOM.
Expected Behavior
A preloader element is added into the dom when the lazy attribute is applied and a preloader is shown while the image is lazily loading. Once the image loads, the preloader is removed from the DOM.
Actual Behavior
An error and no visible carousel items.
Swiper version
12.0.3
Platform/Target and Browser Versions
Windows,FireFox/147.0
Validations
Would you like to open a PR for this bug?
Check that this is really a bug
Reproduction link
https://codepen.io/heyitsmass/pen/wBWdJyW
Bug description
When using the
lazyprop on a SwiperSlide in react, TheonLoadattribute for the slide fires before the preloader can render. This results in the preloader never rendering and the core attempting to remove the non-existent element from the DOM.Expected Behavior
A preloader element is added into the dom when the
lazyattribute is applied and a preloader is shown while the image is lazily loading. Once the image loads, the preloader is removed from the DOM.Actual Behavior
An error and no visible carousel items.
Swiper version
12.0.3
Platform/Target and Browser Versions
Windows,FireFox/147.0
Validations
Would you like to open a PR for this bug?