Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

209
Visualizações
Glide.js doesn't load images when it goes from first to last index

I'm using Glide.js and I have 3 slides per view. When I'm on the last index and should be seeing the first and the second index, the images of the first and second won't load until I click. So I'm standing on the first index, but then the last index won't load. Since I'm standing on position 0,1 I'm assuming the position of the last - in this case 8 - won't load.

Here's my code:

<ul className={styles.list}>
  <Carousel onMoveAfter={() => setActive()} settings={sliderSettings}bullets={false}>
            {list.map(item => <Item key={item.Id} list={item} />)}
   </Carousel>
 </ul>

export default ({list}) => {
  return (
    <li className={style.item}>
    <div className={style.imgContainer}>
      <a href={url}>
        <img className={style.Image} src={url} />
      </a>
    </div>
    <div className={style.contentContainer}>
      <a href={url}>
        <h4 className={style.Name}>{name}</h4>
      </a>
    </div>
    </li>
  );
};
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda