Bug 208088

Summary: AX: input element onKeyPress and onPaste events behave differently in webkit
Product: WebKit Reporter: Arvin Sevilla <asevilla>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: asevilla, karlcow
Priority: P2 Keywords: PlatformOnly
Version: Safari 13   
Hardware: Mac   
OS: macOS 10.14   
URL: https://codepen.io/aesyondu/pen/KKpNXEX
See Also: https://bugs.webkit.org/show_bug.cgi?id=30397

Arvin Sevilla
Reported 2020-02-21 21:24:49 PST
Encountered when using react-gatsby: https://github.com/CoreyGinnivan/whocanuse/issues/31 Created a pen to demonstrate using vanilla javascript: https://codepen.io/aesyondu/pen/KKpNXEX When pasting on an input element, chrome and firefox fires the onpaste event. However on webkit, the onkeypress is fired first, then onpaste. I'm not sure if there is a standard, or what the standard should be. I would just like to point out that there is a difference in behavior.
Attachments
Arvin Sevilla
Comment 1 2024-01-18 07:20:08 PST
I see this is a duplicate. *** This bug has been marked as a duplicate of bug 30397 ***
Note You need to log in before you can comment on or make changes to this bug.