Issue with Loading Images
I encountered a problem while using the carousel feature in this GitHub project (). The images in the carousel do not display on the first load; instead, a loader animation image appears. However, upon refreshing the page, the carousel works fine without any issues.
Screenshots:
Imported Components:
import {Hooper, Slide, Navigation as SliderNavigation} from 'hooper';
Code snippet from Vue file:
<hooper
:transition="1000"
:wheelControl="false"
:infiniteScroll="true"
:centerMode="true"
:hoverPause="true"
:autoPlay="true"
:playSpeed="4000"
:style="variable.HOME_PAGE_SLIDER_LOADED?'height: inherit':'height: 200px'">
<slide v-for="slider,key in home.index.sliders" :key="key">
<a :href="typeof slider.link != 'undefined' ? slider.link : ''">
<img :src="asset(slider.full_size_directory)" height="100%" width="100%">
</a>
</slide>
<SliderNavigation slot="hooper-addons"></SliderNavigation>
</hooper>
Desktop Details: OS: [Ubuntu 19.02], Browsers: [Chrome, Safari, Firefox]
Smartphone Details: Device: [Samsung], Browser: [Chrome]