[Webkit-unassigned] [Bug 281525] [iOS] Unable to reliably change focus from select.onchange on iOS 17.6.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 15 14:31:41 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=281525

--- Comment #1 from Jimmy Thomsen <jimmy at codemagic.dk> ---
Attached code, in case JSFiddle is ever removed:

<input tabindex="0"> <br>
<select tabindex="0">
        <option value="o1">Option 1</option>
        <option value="o2">Option 2</option>
        <option value="o3">Option 3</option>
</select>

<script>
var inp = document.querySelector("input");
var sel = document.querySelector("select");

sel.onchange = function(e)
{
        inp.focus();
}

setInterval(function()
{
        inp.placeholder = "Focused: " + (document.activeElement || {}).tagName;
}, 200);
</script>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241015/ca053425/attachment-0001.htm>


More information about the webkit-unassigned mailing list