You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description Overview
HTMLMediaElements have a
resize
event that has been added in react 18. When usingonResize
on a video element, the rulereact/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
The text was updated successfully, but these errors were encountered: