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

121
Visualizações
Locomotive Content not visible even when visible in CSS dev tool

Using Locomotive Smooth scroll, Scroll works fine, the issue occurs while scrolling back to the top, the header doesn't get visible even when the CSS inspect has opacity 1, so not sure why the header is not getting visible.

Another strange behaviour, header gets visible if I untick and tick back any CSS on the dev console or If I do select all from the keyword then the header gets visible, If I resize the browser then the header gets visible.

let options = { el: document.querySelector('[data-scroll-container]'), smooth: true, getSpeed: true, getDirection: true, reloadOnContextChange: true }

const scroll = new LocomotiveScroll(options);

header have data-scroll data-scroll-section

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This is happening after chrome update just add this line in css should work

html.has-scroll-smooth {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;  
}
about 4 years ago · Juan Pablo Isaza Relatório
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