[Webkit-unassigned] [Bug 196336] New: [macOS] Select element doesn't show popup if select element had lost focus while popup was previosuly shown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 27 19:56:11 PDT 2019


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

            Bug ID: 196336
           Summary: [macOS] Select element doesn't show popup if select
                    element had lost focus while popup was previosuly
                    shown
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org
                CC: cdumez at apple.com, wenson_hsieh at apple.com

In the following example, when the select element loses focus while the popup is shown,
clicking on the select element again does not open the popup.

<!DOCTYPE html>
<html>
<select>
    <option>foo</option>
    <option>bar</option>
</select>
<script>
const select = document.querySelector("select");
select.addEventListener("focus", () => setTimeout(() => select.blur(), 0), { once: true });
</script>
</html>

-- 
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/20190328/e88e2444/attachment.html>


More information about the webkit-unassigned mailing list