[Webkit-unassigned] [Bug 137067] REGRESSION (iOS 8): <select> values are not properly updated in a form with multiple <select>s

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 14 10:20:38 PST 2015


Michael Trinque <miket at mavn.is> changed:

           What    |Removed                     |Added
                 CC|                            |miket at mavn.is

--- Comment #3 from Michael Trinque <miket at mavn.is> ---
I find the following to be a better solution provided that you are not making use of disabling selects in your application (though obviously one could alter the code below to account for that as well):

var selects = $('select');
if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
   selects.blur(function() {
      selects.prop('disabled', false);
   }).focus(function() {
      selects.not(this).prop('disabled', true);

I'd like to point out that this has been open for over a year and has yet to be either acknowledged or fixed. The code causing this bug *must* be extremely sloppy, something to the effect of "set whichever select box is focused to the index of the picked option" and not the sane "set the select box *associated with this option* to the option's index". I'm glad the iPad/iPhone is getting thinner and all... great; lets see some improvement on the software side of this 100bn+ empire.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151114/c6fcb1b3/attachment.html>

More information about the webkit-unassigned mailing list