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

203
Views
Safari page loading scrolls to near bottom of page

On Safari 13, when I load a wordpress page, it scrolls to an Google Map Iframe near the bottom of the page. I tried fixing it with JS:

$(document).ready( () => {

    window.scrollTo(0,0);

})

to no effect. This doesn't happen on Chrome Mac or PC. Any suggestions about how to fix this or work around? Thank you.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Ok we figured it out. Apparently, the Google map at the bottom of the page has a marker for a location. When the marker loads, Safari focuses on that marker causing the page to skip to the map. This does not occur with Chrome. We ended up only running the JavaScript function creating the marker for non-Safari browsers using a regular expression to select for non-Safari browsers and this fixed the page jump.

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!