Issue metadata
Sign in to add a comment
|
Require a user gesture to open a <select> dropdown |
||||||||||||||||||||||||
Issue descriptionRequire 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
,
Apr 27 2016
,
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!
,
Apr 27 2016
,
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
,
Apr 27 2016
,
Apr 27 2016
I think so.
,
Apr 27 2016
,
Apr 27 2016
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?
,
Apr 27 2016
Could we require a user gesture to call the JS API? |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by raymes@chromium.org
, Apr 27 2016Labels: -Pri-3 Pri-2
Owner: dglazkov@chromium.org