Inconsistency between input event and beforeinput event
See original GitHub issueNow beforeinput event is InputEvent
(because it is defined with addedTypes here).
On the other hand, input event is Event
(this is from HTML Standard).
beforeinput
event is defined in UIEvents and here it is defined that input
is also InputEvent
.
I think input event should be InputEvent
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
HTMLElement: beforeinput event - Web APIs | MDN
Returns a DataTransfer object containing information about richtext or plaintext data being added to or removed from editable content.
Read more >javascript - How to preview the result of a beforeinput event?
I'm not looking for alternative ways to do input validation; I'm already well-aware of methods involving the keypress and input events, as well ......
Read more >UI Events - W3C
This specification defines UI Events which extend the DOM Event objects defined in [DOM]. UI Events are those typically implemented by visual ...
Read more >How to Work with Forms, Inputs and Events in React - Medium
This article covers how to capture text input and input via other form elements like , , and <option> in React.
Read more >feature is currently unavailable due to an internal error
Canceling the default action of a keydown event MUST NOT affect its ... the respective beforeinput and input (and keypress if supported) events...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for not reading the latest version of the comment 😬
Anyway, please feel free to open new issues when you find one! 👍
yep