Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!