• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

103
Views
Prevent Android Chrome scrolling to focused item when interacting with Media controls

On mobile Chrome (Android in this case), When a user has a focus on a text item (eg input), and then clicks on Media controls (<video>,<audio>). Chrome will scroll back the page to the focused item.

Demo: https://jsfiddle.net/xn0f9uv3/1/show

Demo Gif

If I could blur the focus, the scrolling does not happen. However the audio element does not seem to trigger any mousedown/touchstart events. The video element triggers touchstart, but NOT if you click the play, seek or volume controls. onplay event fires too late. onblur event does not help.

almost 3 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 Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error