Bug 208088
Summary: | AX: input element onKeyPress and onPaste events behave differently in webkit | ||
---|---|---|---|
Product: | WebKit | Reporter: | Arvin Sevilla <asevilla> |
Component: | UI Events | Assignee: | 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
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
I see this is a duplicate.
*** This bug has been marked as a duplicate of bug 30397 ***