New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 607041 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 423975
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Require a user gesture to open a <select> dropdown

Project Member Reported by raymes@chromium.org, Apr 27 2016

Issue description

Require a user gesture to open a <select> dropdown. Currently it can be opened onload which contributes to  issue 565760 

Minimised example here: http://output.jsbin.com/xiguyelafi/1


 

Comment 1 by raymes@chromium.org, Apr 27 2016

Cc: -dglazkov@chromium.org
Labels: -Pri-3 Pri-2
Owner: dglazkov@chromium.org
dglazkov: Can you help us find an owner for this part of the bug?

Comment 2 by raymes@chromium.org, Apr 27 2016

Components: Blink

Comment 3 by raymes@chromium.org, Apr 27 2016

As an additional restriction, the <select> element should be visible on the page before allowing the drop down (a heuristic should be fine). I can break this out into a separate bug if it makes sense. Please let me know. Thanks!

Comment 4 by raymes@chromium.org, Apr 27 2016

Labels: -Restrict-View-Google

Comment 5 by raymes@chromium.org, Apr 27 2016

Another example here of how annoying popping these things can be if it's allowed to happen onscroll: http://output.jsbin.com/niyokelene/1

Comment 6 by raymes@chromium.org, Apr 27 2016

Cc: rbyers@chromium.org
Owner: tkent@chromium.org
tkent, is this really a dupe of  issue 423975 ? 

Comment 7 by tkent@chromium.org, Apr 27 2016

Components: -Blink Blink>Forms>Select
Mergedinto: 423975
Status: Duplicate (was: Available)
I think so.

Comment 8 by raymes@chromium.org, Apr 27 2016

Blocking: -565760
We are going to prevent synthetic events from doing the default action via  issue 520519  which would fix  issue 423975 .

But at the same time we wanted to provide a javascript API to open the select via  issue 520520 . Perhaps we shouldn't do that now?

Could we require a user gesture to call the JS API?

Sign in to add a comment