[Webkit-unassigned] [Bug 135552] onchange event not firing on application switch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 8 11:44:54 PDT 2022


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

Jeff Johnson <opendarwin at lapcatsoftware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |opendarwin at lapcatsoftware.c
                   |                            |om

--- Comment #4 from Jeff Johnson <opendarwin at lapcatsoftware.com> ---
This bug should be renamed to something like "onchange event not firing on blur".

The bug occurs for both <input> and <textarea> elements, and you can reproduce it by clicking in the Safari address bar (or command-l), or clicking in the Safari web inspector, not just by switching applications.

This is contrary to the behavior of Chrome and Firefox. It's also contrary to the MDN web docs: "When the element loses focus after its value was changed: for elements where the user's interaction is typing rather than selection, such as a <textarea> or the text, search, url, tel, email, or password types of the <input> element."

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event

This bug also affects Safari extension popups: when you close the popup, the change event is not fired for changed inputs and textareas, unlike in Chrome and Firefox extension popups.

-- 
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/20220908/d4981c26/attachment.htm>


More information about the webkit-unassigned mailing list