Bug 137815 - iOS8 Safari <select>: Tab crashes when moving to the next form widget after having changed the value of a <select>
Summary: iOS8 Safari <select>: Tab crashes when moving to the next form widget after h...
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-10-17 02:20 PDT by Gabriel Schulhof
Modified: 2022-02-10 20:04 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Schulhof 2014-10-17 02:20:27 PDT
Steps to Reproduce:
1. Open http://jsbin.com/IFolanOW/598/ in iOS8 Safari
2. Open the select menu
3. Choose a value other than the one selected
4. Tap "Next" to go to the next select menu

Expected Results:
Focus switches to the next select menu

Actual Results:
Safari indicates that there was a problem with the page and reloads the page
Comment 1 Gabriel Schulhof 2014-10-19 23:58:06 PDT
The <select> has a change event handler that blurs it when it fires.
Comment 2 Gabriel Schulhof 2014-10-19 23:59:25 PDT
<!DOCTYPE html>
<html>
<head>
  <title>JQM latest - issue 7685</title>
  <script>
document.addEventListener( "change", function( event ){
  event.target.blur();
});
  </script>
</head>
<body>
    <form>
      <select id="select-1">
        <option value="value1">S1 Value 1</option>
        <option value="value2">S1 Value 2</option>
      </select>
      <select id="select-2">
        <option value="value1">S2 Value 1</option>
        <option value="value2">S2 Value 2</option>
      </select>
    </form>
</body>
</html>
Comment 3 Radar WebKit Bug Importer 2014-10-28 23:51:40 PDT
<rdar://problem/18807801>
Comment 4 Radar WebKit Bug Importer 2014-10-28 23:51:43 PDT
<rdar://problem/18807802>
Comment 5 Brent Fulgham 2022-02-10 20:04:40 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This should now be fixed in shipping software.