Closed
Description
Is there an existing issue for this?
- I have searched the existing issues and my issue is unique
- My issue appears in the command-line and not only in the text editor
Description Overview
HTMLMediaElements have a resize
event that has been added in react 18. When using onResize
on a video element, the rule react/no-unknown-property
reports an error. Typescript is however happy with it and let me build the application if I ignore the rule.
Expected Behavior
No error report when using onResize
on an HTMLMediaElement.
eslint-plugin-react version
v7.32.2
eslint version
v8.43.0
node version
v20.3.0