[Webkit-unassigned] [Bug 229245] New: <input type=range> only calls onblur on keyboard interactions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 18 12:01:16 PDT 2021


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

            Bug ID: 229245
           Summary: <input type=range> only calls onblur on keyboard
                    interactions
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wesleydesouza at me.com

Given the following HTML:

    <input type="text">
    <input type="range" onblur="console.log('blur')">
    <input type="text">

1. If a user focuses on the first input, then presses tab twice, "blur" is logged
2. If a user clicks the first text input, then clicks and alters the range input, then clicks the second text input, nothing is logged

Other browsers correctly fire onblur when using the mouse.

Example on codepen:
https://codepen.io/wessouza/pen/poPXVaX?editors=1111

-- 
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/20210818/68a611d9/attachment.htm>


More information about the webkit-unassigned mailing list