WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 30397
208088
AX: input element onKeyPress and onPaste events behave differently in webkit
https://bugs.webkit.org/show_bug.cgi?id=208088
Summary
AX: input element onKeyPress and onPaste events behave differently in webkit
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug