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

86
Views
scrollIntoView doesn't work with behavior smooth

I'm trying to learn interSectionObserver and ScrollIntoView in javascript but ScrollIntoView works odd

targetToScroll.scrollIntoView(); // works
//code below does not work on chrome v99.0.4844.74 and does not work on edge 99.0.1150.39, but works on firefox v98.0.1
// targetToScroll.scrollIntoView({behavior: 'smooth'});

for online testing checkout my pen My pen javascript file line 11 to 14

about 4 years ago · Juan Pablo Isaza
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!