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

107
Views
Website scrolling stops for a tiny time when reaching a specific spot

If i refresh the page and scroll down, the website lags for a few milliseconds and continues afterwards. the problem is only coming back after I refresh the page. Any possible solutions for that? Thanks

about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

try to add this.see if it helps. clear your cache and try to run in in a different browser if thats a browser problem.

html {
  scroll-behavior: smooth;
}

about 4 years ago · Santiago Trujillo Report

0

I understand your problem. Iscrol behabiour write a simple code for scroll behavior watch my codepen link and

html {
  scroll-behavior: smooth;
}

#test1 {
  height: 600px;
  background-color: green;
}

#test2 {
  height: 600px;
  background-color: black;
  color:white;
}
<!DOCTYPE html>
<html>
<head>

</head>
<body>

<h1>Smooth Scroll</h1>

<div class="main" id="test1">
  <h2>Section 1</h2>
  <p>Click on the link to see the "smooth" scrolling effect.</p>
  <a href="#test2">Click Me to Smooth Scroll to Section 2 Below</a>
  <p>Note: Remove the scroll-behavior property to remove smooth scrolling.</p>
</div>

<div class="main" id="test2">
  <h2>Section 2</h2>
  <a href="#test1">Click Me to Smooth Scroll to Section 1 Above</a>
</div>

<p><strong>Note:</strong> The scroll-behavior property is not supported in Internet Explorer.</p>

</body>
</html>

about 4 years ago · Santiago Trujillo Report

0

I would also suggest this:

html {
  scroll-behavior: smooth;
}

about 4 years ago · Santiago Trujillo 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!