Closed
Description
- Check if updating to the latest Preact version resolves the issue
Describe the bug
The change in #3562 was intended to convert oninput to oninputCapture. However, because it is using /^oninput/, it actually ends up converting oninput* to oninputCapture. This breaks functionality for custom elements that might be exposing CustomEvents that happen to start with "input". i.e.
<my-custom-element oninputAction={...}/>
used to call addEventListener('inputAction', ...), but will now add a capture listener for the 'input' event.
To Reproduce
See above.
Expected behavior
See above.
Metadata
Metadata
Assignees
Labels
No labels