New issue
Advanced search Search tips

Issue 673284 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 652007
Owner: ----
Closed: Dec 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

requestAnimationFrame hangs when changing a select input

Reported by a...@funwithtriangles.net, Dec 12 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1.  Navigate to https://jsfiddle.net/w6v4saqw/2/
2. Change the select input

What is the expected behavior?
The counter should keep incrementing without any pause

What went wrong?
The counter pauses for a moment on change of select input. It should also be noted that this pause happens even when the same option is selected.

Did this work before? N/A 

Chrome version: 55.0.2883.87  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0

Behaviour can be reproduced in an Electron build.

Works fine in:
Safari
Firefox
Chrome for mobile
 
Labels: M-55 Needs-Bisect
Components: -Blink Blink>Forms>Select Blink>Animation
I don't think there is much to do here. The request animation frame isn't executing because changing the option causes the main thread to do some work so the request animation frame is seen as "paused" but I am forwarding to the relevant teams to look at a trace and triage. Certainly reproducible.
It doesn't seem to have this issue with any other input types, however:
https://jsfiddle.net/w6v4saqw/5/

What makes a select element different from the rest? Thanks for forwarding this on.
Mergedinto: 652007
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment